[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33069] 'who' and/or 'clear' in caller workspa
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #33069] 'who' and/or 'clear' in caller workspace broken |
Date: |
Thu, 14 Apr 2011 21:40:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.16) Gecko/20110323 Ubuntu/10.04 (lucid) Firefox/3.6.16 |
Follow-up Comment #1, bug #33069 (project octave):
Confirmed in the development code as well. It is interesting that the
variables are, in fact, cleared in that they are not available to the program.
You can check this by asking for the value of the cleared variable and Octave
will report that no such variable exists. This may, therefore, be just a
reporting error in the who function.
A second observation is that if the workspace function is called twice then on
the second call to the function the symbol table is already populated with the
a and b variables. This shouldn't happen unless the variables were declared
persistent.
I'm attaching workspace2.m which builds on the first attached script to show
the errors I mention.
(file #23246)
_______________________________________________________
Additional Item Attachment:
File name: workspacetest2.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33069>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/