> If QueryResults is supposed to be a boolean, isn't > it better to make it a boolean? Doesn't that make > it easier to understand the intent of the code?
You can certainly make this argument, but it's hard to confuse the intent of code which uses integers to determine boolean values. For example, within a CFIF, you know that the expression HAS to evaluate to a boolean value - that's the only way it can work. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists