This could mess things up, resulting in the opposite result to the one intended and also get around my error checking as it now stands.
Any thoughts?
You want to use voidp(flag) instead. This movie test handler will show that it'll work:
on voidtest flag put voidp(flag) end
Now try these in the message window:
voidtest
--1
voidtest true
--0
voidtest false
--0
voidtest 0
--0
Voidp() just tests if the variable has been set. It's better for this job that testing to see if the variable is equal to void.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
