Hi Robert,
Gordon Smith from Macromedia posted this to another list a while ago. I am
reproducing it with his permission. Hopefully it will clarify things a bit:
Note, that this applies only to AS 3, not to AS 2
***
'undefined' is
Spike wrote:
Since Object is the only type that can store undefined, if you try to
set a var of another type to undefined, it will be coerced into
something different. For example, setting a Number to undefined will
coerce it to NaN.
The complete list, by the way, is on the Wiki here:
if(x!=null)
Rob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Spike
Sent: Friday, October 21, 2005 5:42 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Undefined and null in Flex2
Hi Robert,
Gordon Smith from Macromedia posted
Subject: Re: [Flashcoders] Undefined and null in Flex2
Hi Robert,
Gordon Smith from Macromedia posted this to another list a while ago. I am
reproducing it with his permission. Hopefully it will clarify things a
bit:
Note, that this applies only to AS 3, not to AS 2
Mike,
Thanks...
I should have checked the FAQ..RTFM
Rob
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Chambers
Sent: Friday, October 21, 2005 4:45 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Undefined and null in Flex2
What
5 matches
Mail list logo