Yep, I do hear what you are saying and in fact I think I abuse the fact CF is typless far too much! When I said TRUE, I meant 0 for FALSE and 1 for TRUE.....
:-p Neil -----Original Message----- From: Jeffry Houser [mailto:jeff@;farcryfly.com] Sent: 11 November 2002 14:09 To: CF-Talk Subject: RE: Booleans At 02:01 PM 11/11/2002 +0000, you wrote: >I think they are both 'as readable' > >this : > ><cfif Len(MyString)> > >says to me, if the the length of mystring is TRUE. That is not what it says, however. Len(MyString) will never return true. It might return 0. It might return 1. It might return 100. It will never return true. ColdFusion may interpret a non-zero result as true, but that is not what is returned. This is a side-effect of ColdFusion being a Loosely-typed language. I'm not saying it is wrong, I'm just saying I think it would be better read as: len(MyString) is 0 or Not Len(MySTring) is 0 -- Jeffry Houser | mailto:jeff@;farcryfly.com DotComIt, Putting you on the web AIM: Reboog711 | Phone: 1-203-379-0773 -- My CFMX Book: <http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20> My Books: http://www.instantcoldfusion.com My Band: http://www.farcryfly.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

