Weirdness with global variable declaration
Thomas J McGrath III
3mcgrath at adelphia.net
Sun Jan 18 23:32:54 EST 2004
Have you tried creating the global outside of this handler?
put it by itself before the openCard .
On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote:
> In an openCard handler I have:
>
> on openCard
> global debugMode
> global inChatUsers, newChatSocket
> global chatRect, chatRectHalf, wbRect
> put "8,8,596,314" into chatRect
> .
> .
> .
>
> But a button in that card doesn't seem to know the value of chatRect.
> And
> while globalNames lists inChatUsers, newChatSocket and debugMode it
> doesn't
> list any of the three globals on the third line of the handler above.
>
> Any reasons why a global should no longer be among the globalNames?
>
> Thanks,
>
> doug
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2
Advanced Media Group
Thomas J McGrath III • 2003 • 3mcgrath at adelphia.net
220 Drake Road, Bethel Park, PA 15102
More information about the use-livecode
mailing list