At 13:50 -0800 21/01/02, Kerry Thompson wrote:

>Is it?

If you write "null" in the scriptEditor with color-coded syntax, you 
will see that it remains black, whereas "VOID" turns green, because 
it's a recognized keyword.

Typing: x=null
You could as well type: x=Kerry
It's the same thing; an undeclared variable.
It only works in the message-window, because it allows the use of non 
declared variables.

if you try to compile:

on test
   x=null
end

in the scriptEditor, you'll get an alert saying:
"Script error: variable used before assigned a value    x=null?"

If you do indeed want Director's <NULL>, you can get it like:

-- Welcome to Director --
x=call(#m, [])
put x
-- <Null>

But Kerry, we both know what this kind of discussion can lead to, and 
we don't that happening again, right?
;-)
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