Defining locals or constants
David Bovill
david at openpartnership.net
Thu May 15 10:50:07 EDT 2008
Yes - because I do not want to have to deal with the different situations in
which the handler is called, and initialise the variables properly. For
instance when I call a custom property of an object in another stack, which
may or may not be "open" - it could simply be loaded into memory. In these
cases I want the variable to be initialised when the script is called and
not necessarily when a stack is opened.
More information about the use-livecode
mailing list