<cfif IsDefined("myArray")>

and if you want to make shure it's an array

<cfif IsDefined("myArray") AND IsArray(myArray)>

-----Original Message-----
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 1 februari 2002 9:21
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

Reply via email to