octave-maintainers
[Top][All Lists]
Advanced

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

Re: Why does Octave ignore additional input arguments ?


From: John W. Eaton
Subject: Re: Why does Octave ignore additional input arguments ?
Date: Tue, 09 Feb 2016 05:29:13 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 02/09/2016 04:11 AM, Colin Macdonald wrote:
On 08/02/16 23:56, Julien Bect wrote:
but I find it annoying (and I would be perfectly happy with a default
non-customized error message).

+1 for annoying.

I hadn't paid attention to this problem until recently; *not* looking
forward to doing this everywhere:

if (nargin > ...)
   print_usage ();
endif

I think it would be fairly easy to make exactly that happen automatically.

The question is whether there is some legitimate reason to keep the existing behavior. I'm not convinced that there is, but maybe I'm wrong? It would help me if I see an example of where the current behavior is useful.

jwe





reply via email to

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