<cfif IsDefined("myArrayName")> <cfif IsArray(myArrayName)> then you have an array </cfif> </cfif>
> -----Original Message----- > From: Jamie Jackson [mailto:[EMAIL PROTECTED]] > Sent: Friday, 1 February 2002 4:21 PM > To: CF-Talk > Subject: Testing for presence of array? > > > How do you test for the existence of an array (not an array element, > but the array itself)? I'm trying to manipulate an array that may or > may not exist. > > Thanks, ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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