And of course, get a hold of one of the great books that abound on CF, I cut
all my teeth on Ben Forta's and can recommend any bearing his name without
reservation. As another quick recommend (slightly O this T) one of the most
understated titles of any book I bought is another Ben Forta gem "Teach
yourself SQL in 10 Minutes".  A very slim volume in size but not content I
always carry it with me.

Mike Brunt
Sempra Energy
213.244.5226

"ASCII stupid question, get a stupid ANSI !" 


-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 4:40 PM
To: CF-Talk
Subject: cfif shorthand


I'm working on some code that uses a shorthand (I guess...) cfif style quite
a bit. I have tried to stay away from doing this since it makes the code
harder to read, so I never really took the time to figure it out.

For instance...
<cfif query.recordCount>
Is this testing for the existence of the query or if it is greater than
zero?

<cfif len(query.date)>
This particular one has me scratching my head, it never seems to test
negative in the code, but what is it testing for?

Could someone please fill me in here...

jon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to