You wouldn't even need the evaluate for this. <cfset setVariable('newvariable' & id,value)>
Jeff Sarsoun -----Original Message----- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 10:02 AM To: CF-Talk Subject: Re: naming a variable from another... Try this.. SetVariable(Evaluate('newvariable' & id),value) Mike ----- Original Message ----- From: "Ryan Mitchell" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 7:50 AM Subject: naming a variable from another... > Hello > > I need to name a variable using the value of another variable in the name... > > Eg > > I have a variable called id and I want to do this > > <cfset newvariable_#id# = value> > > But it won't let me :) > How do you do this? > > TIA, > Ryan > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com