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

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

[Octave-bug-tracker] [bug #47021] Calling nargin for scripts returns wro


From: Rik
Subject: [Octave-bug-tracker] [bug #47021] Calling nargin for scripts returns wrong error message
Date: Sun, 31 Jan 2016 05:30:37 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Update of bug #47021 (project octave):

                  Status:            Works For Me => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

This seems to have been fixed.  I created a file g.m with the contents


function y = g (x)
  y = pi;
endfunction


When I run with the 4.0.1rc-3 release candidate there is no error and the
number of inputs is returned correctly.


nargin (@g)
ans =  1


Upgrade to 4.0.1 when it becomes available, or build from source.  Either way
will get you the fix.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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