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
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm