Why not simply use bracket notation? <cfset request["arrayOfIds_#theIndex#"] = arraynew(1)>
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Mark Kecko [mailto:mark@;mediapost.com] > Sent: Thursday, November 14, 2002 10:04 AM > To: CF-Talk > Subject: Dynamic Arrays > > > Can anybody tell me why this set to a dyanamically named > array won't work, > is there a workaround? I've tried ArraySet with the same > results. IsArray > and ArrayLen recognize it, but I can not Append or Insert items. Any > suggestions would be grand, thanks. > > <cfset tentativeId = 123> > > <cfloop list="a,b,c" index="theIndex"> > <cfoutput> > <cfset "Request.arrayOfIds_#theIndex#" = ArrayNew(1)> > <cfset temp = > ArrayAppend(Evaluate("Request.arrayOfIds_#theIndex#"), > tentativeId)> > IsArray: > #IsArray(Evaluate("Request.arrayOfIds_#theIndex#"))#<br> > temp: #temp#<br> > ArrayLen: > #ArrayLen(Evaluate("Request.arrayOfIds_#theIndex#"))#<br><br> > </cfoutput> > </cfloop> > > Mark Kecko > Technology > Mediapost Communications > [EMAIL PROTECTED] > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

