octave-maintainers
[Top][All Lists]
Advanced

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

Re: Deprecate nargchk, nargoutchk?


From: Rik
Subject: Re: Deprecate nargchk, nargoutchk?
Date: Fri, 22 Apr 2011 09:31:41 -0700

On 04/21/2011 09:07 PM, John W. Eaton wrote:
> On 21-Apr-2011, Rik wrote:
> 
> | Can we deprecate nargchk and nargoutchk?
> 
> No, because they are core Matlab functions and exist in Octave for
> compatibility.  I don't recommend using them for the reasons you
> state.  I prefer explicit checks that end up calling print_usage if
> some condition on the inputs is not met.

I should have checked the core list.  I've added a note in the
documentation about the preferred Octave way of doing things (8c25df502846).

--Rik



reply via email to

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