Yes, the 'do' command, of course! I'd forgotten about that (at least
forgoten how it works)...
So I had a great idea... a handler for cleaning up unwanted globals when
leaving a movie.
Could be called for eg. from a pseudo-destructor routine.
But it doesn't work, and stupidly I deleted the earlier emails about 'do'...
can anybody put me on the right track please?
on killGlobals globalVarList
repeat with varName in globalVarList
myCommand = "global" && varName
put myCommand
do myCommand
myCommand = varName && "= VOID"
put myCommand
do myCommand
end repeat
end
it's 'putting' the results i expect but seemingly not 'doing' what i want...
i expect it's sth to do with the global declaration?
Rich
-----------------------------------------------------
icq: 16632533
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]