Bug: clear leaves global variables in symbol table
Rik
rdrider0-list at yahoo.com
Sat Jun 6 17:15:52 CDT 2009
6/6/09
In the Mercurial tip, 'clear' by itself should remove both local and
global variables according to the documentation. Instead it only
appears to remove global variables but they still exist according to
'who global'.
Code to reproduce:
global abc = 1
who
=>
Variables in the current scope:
abc ans
----------------
clear
who
=>
(blank)
---------------
who global
=>
Global variables:
abc
----------------
The behavior is correct if 'clear -g' is used instead of just 'clear'.
--Rik
More information about the Octave-maintainers
mailing list