At 2:00 PM -0700 9/20/00, Kerry Thompson wrote:
>>Generally in programming, a null or void pointer is all 0's,
>
>Very true, for a pointer.
>
>>So, this can be very convenient actually
>
>Or inconvenient, if you're trying to do something like:
>   if value(getaProp(gplFlagList, #CLUE)) <> VOID then -- Problem! 0 
>evaluates as VOID
>
>

Kerry,

When in Rome ...  Why not use Lingo's built in way:

   if not(voidp(getaProp(gplFlagList, #CLUE))) then

Irv
-- 
Lingo / Director / Shockwave development for all occasions
            (We even do weddings and Bar Mitzvahs!)
   See our kid's CD-Rom's at:  http://www.furrypants.com

[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!]

Reply via email to