On Dec 13, 2007 6:57 AM, Casey Dougall <[EMAIL PROTECTED]> wrote: > On 12/13/07, Todd <[EMAIL PROTECTED]> wrote: > > > > NEQ / EQ is valid CF code, so, yeah it is semantics or in this case, a > > personal preference. > > NEQ or EQ will always work where IS or IS NOT only works on strings.
this is actually not the case. IS/IS NOT will work on "numeric" values just as well as EQ/NEQ will work on "string" values. they are 100% identical (IS/IS NOT vs EQ/NEQ) and completely interchangable. remember, cf is typeless (which is why i've been using "quotes" around variable "types" above). i do tend to do what Andy does (use IS/IS NOT for "strings" and EQ/NEQ for "numeric"), just to help self-document things a bit. but as Andy stated, it's 100% personal preference. -- "Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter." - Dave Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

