by this do you mean.....
<cfloop index="i" to="1" from="#listlen(mylist)#"> <cfset "myvar_#i#" = listgetat(mylist,i)> </cfloop>
----- Original Message ----- From: "Jay Brushett" <jay@zeddcomm.com> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Wednesday, December 20, 2000 7:54 AM Subject: dynamically naming variables
> > Hi, > > I need to use the Evaluate function to dynamically name variables in a > <cfloop>. > Using the function on the right hand side of a cfset works fine of course > but CF won't let me use it on the left hand side (i.e. the variable name). > > Any ideas would be greatly appreciated. > > TIA, > > Jay > < > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < > > > Jay Brushett > jay@zeddcomm.com > > Developer > > < ZeddComm Inc. > > 2nd Floor, The Tower | 100 Signal Hill Road > St. John's, Newfoundland | Canada A1A 1B3 > Main: 709.570.5669 | Fax: 709.739.9003 > Web: www.zeddcomm.com > < > < > < > < St. John's ~ New York ~ Newport Beach ~ Ottawa > < > < > < > > > > >