global variable change in substack not available to main stack
Slava Paperno
slava at lexiconbridge.com
Sun Jul 10 10:29:45 EDT 2011
I'm curious about globals and the message box. I've been doing both
(omitting the global declaration and including it) and I haven't seen any
difference, but I've seen conflicting opinions in the posts here as well as
some forums. What's the skinny on this?
Slava
> > In the Message box:
>
> > put gBgColor
> > --0, 0, 0
>
> You have to declare the global variable. In the message box try
>
> global gBgColor; put gBgColor
More information about the use-livecode
mailing list