Answered
Dynamic Variable Names
Okay, I just need to figure out how to make dynamic variable
names. In this case, I have a loop, and inside the loop I need to
create a new array for every iteration of the loop. Something like
<cfloop from="0" to="10" index="i">
<cfset LoopArray#i# = Some Value>
</cfloop>
But that doesn't work. How can you make dynamic variable named? I think it's probably something to do with evaluate or DE, but I don't know how to use them, and the livedocs make no sense to me. Thanks!
<cfloop from="0" to="10" index="i">
<cfset LoopArray#i# = Some Value>
</cfloop>
But that doesn't work. How can you make dynamic variable named? I think it's probably something to do with evaluate or DE, but I don't know how to use them, and the livedocs make no sense to me. Thanks!
