help-octave
[Top][All Lists]
Advanced

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

Re: Puzzled about scope/existence of globals


From: John W. Eaton
Subject: Re: Puzzled about scope/existence of globals
Date: Sun, 23 Nov 2003 00:06:41 -0600

On 22-Nov-2003, Tomer Altman <address@hidden> wrote:

| Would it be possible to have the following?
| 
| global x;
| x = 5;
| clear("x","global");

Yes it should probably be possible to do something like this since
Matlab has

  clear global    ## clear all global variables completely
  clear global x  ## clear global variable x completely

but Octave does not currently implement this feature.  I don't care
too much about this functionality.  Perhaps someone who does would
like to submit a patch to make it work?

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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