Hello, I was reading the "assigning value to dynamic variable" thread an have run across this before. In a simple example I was able to assign values to a variable MyVar1 through MyVar10 in this way: <cfloop index="i" from="1" to="#NumVars#"> ...code omitted that builds tmp <cfset "MyVar#i#" = tmp> </cfloop> However, I had trouble trying to reference these vars in a loop later on: <cfloop index="i" from="1" to="#NumVars#"> <cfoutput #MyVar&i#> <!---doesn't work---> </cfloop> Sorry if I missed something in the thread that should have given this away... > John Chase > Web Programmer > National Renewable Energy Laboratory > 1617 Cole Boulevard > Golden, CO 80401-3393 > (303) 275-3620 > (303) 275-3603 FAX > > ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/[email protected]/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

