Why avoid isDefined()? -----Original Message----- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, June 30, 2011 2:12 PM To: cf-talk Subject: RE: Stupid Question
Actually without getting into a flame war with Dave and others, it should be better to use <cfif structKeyExists(capability_detail, 'capability_id')> </cfif> And you should avoid using isDefined(). Regards, Andrew Scott http://www.andyscott.id.au/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm