I think you want to use SetVariable(name , value). You could also use evaluate(), but I think it would be more of a pain.
Just a word of advice, so please don't take it the wrong way, but you should be very careful of using evaluate() or setvariable(). There is almost always a simpler, faster way to do what you want. (I think it's been two or more years since I've needed to use either.) �� "Twice five syllables, ��� Plus seven, can't say much, but ... ��� That's haiku for you." �� Jeff Polaski �� Manager, Web Services �� Research & Graduate Studies �� University California, Irvine -----Original Message----- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 3:59 PM To: CF-Talk 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 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

