Globals Question

xavier.bury at clearstream.com xavier.bury at clearstream.com
Wed Nov 2 08:38:02 EST 2005


Dave,

global gGlobal

on handler
  etc...

the gGlobal is available to all handlers "below" the global declaration.

however in 

on handler 
  global gGlobal

end handler

the gGlobal is only available in that handler...

cheers
Xavier

use-revolution-bounces at lists.runrev.com wrote on 02/11/2005 14:13:07:

> Hi,
> 
> I'm a bit confused over the Scope of Global Symbols. If I have a stack 
with:
> 
> global gGlobal
> 
> defined outside of all handlers
> 
> and the same in a card or control script BUT in the same Stack, is 
> the same "gGlobal" used in both places?
> 
> Thanks a lot
> Dave
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-----------------------------------------
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is 'firstname.familyname at clearstream.com'.

Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list