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

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

[Octave-bug-tracker] [bug #39790] "clear" also removes variables from th


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #39790] "clear" also removes variables from the global workspace
Date: Tue, 20 Aug 2013 00:48:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #3, bug #39790 (project octave):

It appears that the indended behavior is implemented.
But, the documentation does not seem to give a clear
explanation.  The behavior of, fo example,
clear -x x2
is not clear. A user might think that x2 is an
argument, and then use the documentation section
that says:
=======================
If 'clear' is called without any arguments, all user-defined
     variables (local and global) are cleared from the symbol table.  If
     'clear' is called with at least one argument, only the visible
     names matching the arguments are cleared. 
=======================

How is the negation of this explanation to be interpreted?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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