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 13:56:11 +0200

2009/8/4 Søren Hauberg <address@hidden>:
> tir, 04 08 2009 kl. 13:35 +0200, skrev Olaf Till:
>> is Octave supposed to complain if a function is called with too many
>> arguments? (In the recent version and in the future --- have only
>> tested with 3.0.5.)
>
> That is the responsibility of the individual function. Most functions do
> not complain when given too many arguments, but some do.
>
> Søren

for a minimalistic approach to checking for consistency of input
parameters you could use "nargchk"

c.



reply via email to

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