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

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

[Octave-bug-tracker] [bug #50035] OO @class/display.m: something is wron


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #50035] OO @class/display.m: something is wrongly caching inputname
Date: Thu, 12 Jan 2017 01:09:42 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

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

That, or somehow the inputname object is not being cleared between calls when
it should be.  That is, somehow Octave is generating that list of input
variable names ('x' and 'y' look like outputs to me, but I guess technically
they are the variable names "input" to the function).  If Octave forgets to
clear that object (is it a cell?), it will be hanging around from the previous
call.

Do you get some kind of error message or result by putting "clear inputname"
in the display(x) routine?  E.g.,

function display(x)
  x
  inputname
  disp(['input name is ' inputname(1)])
  clear inputname
endfunction


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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