On 19 Jan 2004, at 05:41, [EMAIL PROTECTED] wrote:


Message: 2
Date: Mon, 19 Jan 2004 12:05:58 +0900
From: Doug Lerner <[EMAIL PROTECTED]>
Subject: Re: Weirdness with global variable declaration
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

On 1/19/04 12:00 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

On 1/18/04 6:37 PM, "Doug Lerner" <[EMAIL PROTECTED]> 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

As this are globals is there a specific reason to do this intializing on opencard? Why not use openstack or preopenstack?



.
.
.

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


Yes. I think the problem is that the openCard message itself is not being
sent when this stack is cloned!


Can you think of a reason that might be?

Thanks,

doug

Greetings, WA

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to