On 3/21/05 9:58 PM, Howard Bornstein wrote:

On Tue, 22 Mar 2005 14:15:56 +1200, Glen Boyd <[EMAIL PROTECTED]> wrote:
?

Have you declared this global in all stacks that require access to it?
If I recall correctly you need to specify the global in each stack that
you wish to use the variable globally in.



Yes. If you saw my test script I declared it at the beginning of the
handler and only called it from that handler.

I thought that's how all variables work. The compiler won't recognize it until it sees it the first time. That means that if it isn't declared until a handler runs, then it will be empty until that time. If you declare the global at the top of the script instead of just inside a handler, the compiler may see it sooner -- but I don't think you will get a value until a handler puts one in there.


Local variables at the top of scripts should act the same way, I'd think.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to