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

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

[Octave-bug-tracker] [bug #38555] Strange behaviour of nargout


From: anonymous
Subject: [Octave-bug-tracker] [bug #38555] Strange behaviour of nargout
Date: Wed, 20 Mar 2013 20:13:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #2, bug #38555 (project octave):

Here is the example again. In a freshly started Octave:

octave:1> nargout("sombrero")
error: nargout: invalid function
octave:1> sombrero;
octave:2> nargout("sombrero")
ans =  3

So the nargout function only works correctly *after* the sombrero function has
been called once. This works the same way for other .m files



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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