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

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

[Octave-bug-tracker] [bug #50640] display function not passing arguments


From: Guillaume
Subject: [Octave-bug-tracker] [bug #50640] display function not passing arguments to overloaded version of function
Date: Wed, 29 Mar 2017 11:18:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #16, bug #50640 (project octave):

John: after fixing the calls to inputname (input 1 and 2, instead of a1, a2),
I get:


>> a=testobj
ans =
     1
ans =
    'testobj'
ans =
    'a'
        testobj object: 1-by-1


and


ans =
     2
ans =
    'testobj'
ans =
    'a'
        testobj object: 1-by-1
ans =
    'char'
Error using inputname
Argument number is not valid.
Error in testobj/display (line 7)
  inputname (2) 


and if I remove the call to inputname (2) entirely, I get:


>> a=testobj
ans =
     2
ans =
    'testobj'
ans =
    'a'
        testobj object: 1-by-1
ans =
    'char'
a




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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