<cfset "dynamicName_#i#" = i>

----- Original Message -----
From: "Shawn McKee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, June 15, 2002 10:59 AM
Subject: dynamic variable name


> My brain is fried.
>
> How do I do this?
>
> <cfloop from="1" to="10" index="i">
> <cfset dynamicName_#i# = #i#>
> </cfloop>
>
> So that I end up with variables name dynamicName_1 through dynamicName_10?
>
> Shawn McKee
>
> 
______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to