There is a UDF at CFlib that will do it. It basically just does a try/catch. Look for arrayIsDefined.
On 8/9/07, Janet MacKay <[EMAIL PROTECTED]> wrote: > >doesn't it always exist? even if it's empty? > > No, it doesn't. > > <cfset arr = ArrayNew(1)> > <cfset arr[3] = "abc"> > <cfdump var="#arr#"> > > <!--- causes error ---> > <cfoutput>#arr[1]#</cfoutput> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285871 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

