|
From: | Fotios Kasolis |
Subject: | Re: clearing global variables |
Date: | Thu, 7 Oct 2010 00:36:53 +0200 |
From: Michael Johnson
Sent: Thursday, October 07, 2010 12:32 AM
Cc: address@hidden
Subject: Re: clearing global variables Unfortunately that didn't work: octave:1> global VAR = 1; octave:2> clear VAR octave:3> global VAR = 0; octave:4> VAR VAR = 1 Here's a lame workaround that I came up with - included for the archives. octave:1> global VAR; VAR = 1; octave:2> clear all octave:3> VAR error: `VAR' undefined near line 3 column 1 octave:3> global VAR; VAR = 0; octave:4> VAR VAR = 0 So, for future reference, does this list expect people to be using the development code (aka 3.3.52). If so, is there a plan for an official release soon? I deliver octave simulations to customers who are unwilling or unable to compile octave themselves. Mike On Wed, Oct 6, 2010 at 5:12 PM, Dmitri A. Sergatskov
<address@hidden>
wrote:
_______________________________________________
Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octave You can also use <clear global> which behaves
in 3.2.4 as it should!
/Fotis
|
[Prev in Thread] | Current Thread | [Next in Thread] |