Global /local variables

erik hansen erikhans08 at yahoo.com
Wed Nov 13 02:23:01 EST 2002


--- Ken Ray <kray at sonsothunder.com> wrote:

> Locals are the same as globals, except that
> they cannot have a scope outside
> of a single script. If you declare them inside
> of a handler, they apply only
> to that handler. If you declare them inside of
> a script, they are available
> to any handler in that script only. Other
> scripts don't "see" them.

i like declaring locals mainly to control the
order in which the variables are displayed during
debugging. are there any other important reasons
for declaring locally?

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the use-livecode mailing list