help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too many arguments?


From: Carlo de Falco
Subject: Re: Too many arguments?
Date: Tue, 4 Aug 2009 15:45:55 +0200

2009/8/4 Carlo de Falco <address@hidden>:
>> Thanks --- but I do not mean what the function can do to check the
>> arguments count, but what Octave itself is supposed to do in the
>> future. In Matlab, one cannot call a function with more arguments than
>> listed in the functions header. I do _not_ want this behavior. In
>> Octave 3.0.5, luckily calling a function with too many arguments is
>> possible. But I would like to make sure that future versions of Octave
>> won't make it like Matlab. (Since I would like to change an
>> Octave-Forge function to call a user-function with an argument more,
>> but do not want to break existing user-functions.)
>>
>> Olaf
>
> Oh, I see!
> I misunderstood your question, I thought you actually wanted Octave
> to behave like matlab so I suggested a quick way to achieve that.
> Sorry for the noise,
> c.
>

FWIW Octave 3.2.2 still accepts extra arguments without complaining.
I have no idea whether or not this will still be the case in the future...
c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]