> 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?
for zero recordcount not existence > > <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? testing that the date has a length (i.e. if there is a date then it will test true and proceed...boolean test...true/false...length or not) > > Could someone please fill me in here... > > jon > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

