> Ahem, in this case x is actually void, because it was assigned an 
> undeclared variable, 'null', which is something different from 
> <NULL>, which you have to construct otherwise.
> 
Is it?

x=numToChar(null)
put charToNum(x)
-- 0
put x
-- ""
put voidP(x)
-- 0
or isn't it?

x=null
put charToNum(x) --returns script error
put x
-- <Void>
put voidP(x)
-- 1
My only real complaint is the lack of consistency. Either null is
defined or it's not.

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