octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49793] octave's inputParser only accepts vali


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49793] octave's inputParser only accepts validation functions that return true or false
Date: Thu, 8 Dec 2016 18:27:00 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #8, bug #49793 (project octave):

The main point of jwe's idea was that it does depend on fixing nargout so it
works for builtins. I wonder about anonymous functions though.

Amro - a couple points about your suggestion. There is no error ID that can be
caught in Octave yet for the error of too many output arguments (that can be
fixed of course). And this nested approach means that val may be called more
than once on the given argument. It's likely that most validation routines
will be pure functions, but it's possible to have some side effects from
calling the validation function more than once.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49793>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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