help-octave
[Top][All Lists]
Advanced

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

Re: Unclearable global variables?


From: Robert A. Macy
Subject: Re: Unclearable global variables?
Date: Thu, 17 Mar 2005 16:07:26 -0800

Hean-Francois,

Just before issuing "clear", I used to save important
variables to file.  During "normal operation as the program
needed a variable, it always checked for the variable's
existance, if the variable did not exist, the program
loaded in the last known value of the variable.  I also had
the program print a little "warning" msg that it had to
update/create the variable again.  

Does that workaround help?

             - Robert -

On Thu, 17 Mar 2005 22:11:54 +0100
 Jean-Francois Cardoso <address@hidden> wrote:
> 
> Is there a way to mark a global variable "unclearable" ?
>  
> 
> I am developping a toolbox.  Some aspects of it are
> controlled by a
> few global variables.  Issuing a "clear" command, well,
> clears them.
> And annoys me.
> 
> TIA,
> JFC.
> 
> 
> 
>
-------------------------------------------------------------
> 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
>
-------------------------------------------------------------
> 



-------------------------------------------------------------
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]