You can either do: <cfset "keith#dynamicpart" = ...
Or use the SetVariable function. By the way - in CFMX, the local scope (Variables), is a real structure, so you could also do this: <cfset Variables["keith#dynamic#"] = foo> Yep, that's one MORE reason to not use Evaluate (at least in CFMX ;) ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Wurst, Keith D. [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 4:58 PM > To: CF-Talk > Subject: dynamic cfset > > > I am working on a site where I need to use a cfset inside a > cfloop. The > tricky part is that I want my variable name to be dynamic. I have been > trying the following... > > <cfset keith#dynamicpart# = "No"> > > ..but as some of you might guess it's not working. The idea > would be to get > the result of > > Keithblue = "No" > Keithred = "No" > Keithgreen = "No" > > etc, etc. > > Can anyone point me in a better direction to get this > working? Thanks very > much for the help. Talk to you later. > Keith > ______________________________________________________________________ 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

