Quoting Cole Tierney <[EMAIL PROTECTED]>:

> Would this work?
> put ((member "does not exist").number > 0)

In MX 2004, (member "does not exist").number returns a script error on my
machine (Win XP). I think that's because member("does not exist") returns void.

This has come up before, and we've flogged it to death, but you can't treat void
as 0, or false, or any number. Void is void. I don't know if this is still true,
but this:

x = void
if x then
  nothing
end if

"if x" would evaluate to true on Windows, false on Mac. The last I checked was
probably 3 years ago, on 8.5, and probably OS 9 and Win 98.

Cordially,

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

Reply via email to