At 13:45 -0800 19/01/02, Kerry Thompson wrote:
>>What's the ascii equivalent of chartonum = 0?
>
>ASCII 0 is null, but Director won't tell you that.
Which "null"?

-- Welcome to Director --
--- Comparing <ascii 0> and <NULL>:

x = numToChar(0)
y = call(#m, [])
put x
-- ""
put y
-- <Null>
--- Are they equal?
put x = y
-- 0
--- No.
---Are they different?
put x <> y
-- 1
--- Yes.
--- Are they the same ilk?
put x.ilk
-- #string
put y.ilk
-- #void
put x.ilk = y.ilk
-- 0
--- No.

--- Not much resemblance.

Jakob
[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