I should have found this during the beta for RedSky, but I didn't. It turns out that NaN is a reserved word of some sort, that really ruins my day.
do this: <CFSET word = "Hello Dolly"> <CFIF trim(word) EQ "NaN"> </CFIF> You will get an error: The value "NaN" cannot be converted to a number... however, if you change it to "NAN", it works fine (case sensitive). Go figure! I use NaN to compare values returned from Flash, it works fine with the upper case, since CF's matching is case insensitive, but it took me forever to figure that one out (ok, 20 minutes, but it felt like forever). -Igor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

