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" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
>
> 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 > < > < > < >
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to