Weirdness with global variable declaration
Scott Rossi
scott at tactilemedia.com
Sun Jan 18 22:00:27 EST 2004
On 1/18/04 6:37 PM, "Doug Lerner" <doug at webcrossing.com> 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.
Did you declare the global in the button's script?
global chatRect
on mouseUp
...
end mouseUp
Regards,
Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list