This is particularly annoying:

"In files published for Flash Player 6 or earlier, the value of
String(undefined) is "" (an empty string). In files published for Flash
Player 7 or later, the value of String(undefined) is "undefined"
(undefinedis converted to a string)."

Why convert 'undefined' to a string?  When is that useful?



On 7/19/06, Danny Kodicek <[EMAIL PROTECTED]> wrote:


> >By my understanding, undefined refers to a variable that doesn't
> exist, whereas null is a variable that exists >but has no value,
> or an undetermined value.
>
> not really, variable that exists, but is not explicitly assigned
> has value undefined:
>
> var foo; // undefined
> var bar = null;//null

Fair point. Let me try again. Null *means* 'no value' whereas Undefined
*is*
no value. It's a use-mention thing. :)

Danny

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to