Globals from the message box
Bob Sneidar
bobs at twft.com
Mon Nov 28 18:01:09 EST 2011
Wait, you are saying that I can refer to the globals later without first declaring them to be globals? I did not know that!
Bob
On Nov 28, 2011, at 12:57 PM, Mike Bonner wrote:
> Seems like it should work but..
>
> To get around this weirdness, define the globals once in the message box by
> themselves at which point they will "stick" and you can use them to your
> hearts content.
>
> Meaning:
> global gLogonSite,gSiteID -- once
> at which point it seems that any and all future references to them from the
> message box seem to work fine.
More information about the use-livecode
mailing list