[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.
- Too many arguments?, Olaf Till, 2009/08/04
- Re: Too many arguments?, Søren Hauberg, 2009/08/04
- Re: Too many arguments?, Carlo de Falco, 2009/08/04
- Re: Too many arguments?, Olaf Till, 2009/08/04
- Re: Too many arguments?, Carlo de Falco, 2009/08/04
- Re: Too many arguments?,
Carlo de Falco <=
- Re: Too many arguments?, Olaf Till, 2009/08/05
- Re: Too many arguments?, John W. Eaton, 2009/08/05
- Re: Too many arguments?, Olaf Till, 2009/08/06
- Re: Too many arguments?, Carlo de Falco, 2009/08/06
- Re: Too many arguments?, Olaf Till, 2009/08/06
- Re: Too many arguments?, Michael Martins, 2009/08/06
- Re: Too many arguments?, Jaroslav Hajek, 2009/08/06
- Re: Too many arguments?, Olaf Till, 2009/08/06
- Re: Too many arguments?, John W. Eaton, 2009/08/06