<cfif "00" eq "no">
Yup. In ColdFusion, "" around a number make no difference - it's still a number (it is meant to look like HTML where numeric arguments to attributes are supposed to be wrapped in ""). So you have 0 and "no" - which are both equivalent to false. And this is true of most C-based languages too:
if ( 0 == false )
cout << "weird but true...";Sean A Corfield -- http://www.corfield.org/blog/
Macromedia Community Week - May 17-21 http://www.macromedia.com/community/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
