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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #47021] Calling nargin for scripts returns wrong error message
Date: Sat, 30 Jan 2016 17:36:16 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Update of bug #47021 (project octave):

                  Status:                    None => Works For Me           

    _______________________________________________________

Follow-up Comment #1:

Trying in Octave-4.1.0+ (development version) with:

function [retval] = g ()
  printf ("This is g\n");
  retval = "a";
endfunction

I get:

>> nargin (@g)
ans = 0


=> works for me.

Whatever bug there was, it seems to have been fixed in the dev version.



    _______________________________________________________

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]