[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61471] Automatic check of too many inputs
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #61471] Automatic check of too many inputs |
Date: |
Fri, 12 Nov 2021 13:03:27 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #1, bug #61471 (project octave):
Hmm, it seems to work for me:
octave:1> type testnoinput
testnoinput is the user-defined function defined from:
/net/devtty/scratch/jwe/build/octave-gcc-11/testnoinput.m
function testnoinput ()
endfunction
octave:2> testnoinput
octave:3> testnoinput (1)
error: testnoinput: function called with too many inputs
error: called from
testnoinput
octave:4> a = testnoinput (1)
error: testnoinput: function called with too many inputs
error: called from
testnoinput
octave:5> a = testnoinput ()
error: testnoinput: function called with too many outputs
error: called from
testnoinput
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61471>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/