You can use IsDefined() You could also do <cfparam name="myarray" default="#ArrayNew(1)#">
-----Original Message----- From: Wajid Hussain [mailto:[EMAIL PROTECTED]] Sent: woensdag 10 april 2002 13:43 To: CF-Talk Subject: How do I check if a Array() exists?? Hi Folks, I want to check if an array exists and if it doesn't exist, I would like to create it. (but only if it don't exist!) I know I can't use the IsArray() func because the Array would need to exist before testing its type etc. I also can't use the IsDefined() func because its an array and not a simple value. Does anybody know how I would accomplish this? Many thanks. WAJ. ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

