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"'); } _______________________________________________ [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

