On 12/10/08 8:24 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> Francis Nugent Dixon wrote:
>> However, I don't know how to show globals assigned
>> ONLY to the current stack. Does anybody know ?
> 
> I'm not sure what you mean.  Globals are global in scope, available to
> any script with a matching global declaration.
> 
> --
>   Richard Gaskin

Richard is pointing out that globals are, well, global to the Rev
environment.  In fact, they are variables that are the property of the Rev
app, not any one stack or stack file.  This means that if you declare a
global, fill it with "a pony", the pony won't die until you quit Rev or
delete the global by using...

delete global gANiceWarmStable

It feels better to fill globals with things like "the unexpectedly-high
heating bill", then quit Rev.

The default is that globals live in memory as long as Rev is running.

Jim Ault
Las Vegas


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to