chipp at chipp.com
Sun Mar 19 13:24:55 EST 2006
While technically, There's not a difference between a local and 'temp'
variable, I do make such a distinction in naming them.
This is because local variables may be declared and then shared between
handlers/functions of the same object script. This is handy when
creating library scripts. You can think of them as private globals if
So, if I declare at the top of my script (outside handlers and functions):
I can then use these variables inside any handler/function in my script.
It is handy for many things, and you don't have to worry about any sort
of global conflicts.
John Tregea wrote:
> Dear Jim, Chipp and James,
> I thought it must be something like that but tend to call 'temporary'
> variables 'local' variables, so I didn't guess the connection.
More information about the Use-livecode