== converts the arguments to numbers. So, even though
("1 blah blah blah" eq 1)
is FALSE,
("1 blah blah blah" == 1)
is TRUE. Similarly,
("nichts" eq 0)
is FALSE, but
("nichts" == 0)
is TRUE.
-----Original Message-----
From: CDitty [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 12:22 PM
To: [EMAIL PROTECTED]
Subject: == vs eq What's the difference?
The subject pretty much says it all. Why do some if statements only want
to work with eq and others will work with ==?
Thanks
CDitty
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]