octave-maintainers
[Top][All Lists]
Advanced

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

new behaviour of nargoutchk


From: Carnë Draug
Subject: new behaviour of nargoutchk
Date: Fri, 28 Oct 2011 17:58:38 +0100

Hi everyone,

it seems that matlab has completely changed the behaviour of
nargoutchk. It used to return a string if the the value of nargout on
the caller was outside min and max values. Now it fails and returns an
error if it's not between those two values (does nothing otherwise). I
have just implemented narginchk and submitted it to the patch tracker.
I can do the same for nargoutchk. But this would be non-backwards
compatible.

I could check nargout inside nargoutchk and if it's expecting
something, behave as before, otherwise, behave by the new style. What
do you think is the best way here?

Carnë


reply via email to

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