Hi Charlie, Kerry mentioned his experiences, which closely match my own, but I think Franco just spoke to that very question: "VOID can't be used at the right of a comparison operator without getting a value. This value is zero. I'd suggest you use voidP() to check out if a var is void."
That is, if Director follows the "ANSI/IEEE 754 standard for Binary Floating-Point Arithmetic" :0) I think I will just keep using voidP(), as nobody seems to have any problems with that, although it just adds another element to any logical conditional statement that I do where the variable is not guaranteed to exist. HTH, Mathew ----- Original Message ----- From: "Charlie Fiskeaux II" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 2:58 PM Subject: <lingo-l> =VOID vs. voidP > Given the debate about the value of VOID, here's a similar question. Is > there any difference between the following two conditions? > > if voidP(myVariable) then... > > if myVariable=VOID then... > > I've always used the latter without any buggy results, but is it proper? > > Charlie Fiskeaux II > Media Designer > The Creative Group > www.cre8tivegroup.com > 859/858-9054x29 > > > [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!] > [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!]
