Yes, and

void(null) / 0

Will format your hard disk.


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

Thats very strange, but in usual case  you do not check for the pure
value, but for the value, saved in a variable:
a = "foo";
trace(!a); // false

Janosch




Mike schrieb:

>That's what I thought, too, but when I did the test, !"foo" evaluated as
>true.
>
>trace(!"foo"); /// Outputs "true".
>--
>T. Michael Keesey
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of janosch
>Sent: Wednesday, July 19, 2006 9:39 AM
>To: Flashcoders mailing list
>Subject: Re: [Flashcoders] Difference between null and undefined?
>
>little error in !"foo", correct like this:
>
>if (!"foo") {
>       // This will never run.
>       trace('"foo"');
>}
>
>
>_______________________________________________
>Flashcoders@chattyfig.figleaf.com
>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
>
>
>
>

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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