Bryan, Thanks, does this work in CF 5?
Regards, JB Bryan F. Hogan wrote: >If your using MX > ><cfset Variabes['my-name']='Jim'> ><cfoutput>#Variabes['my-name']#</cfoutput> > >-----Original Message----- >From: James Blaha [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 11:49 AM >To: CF-Talk >Subject: Hyphen in a variable name? > > >Hello All: > >Does anyone know how to use a hyphen in a variable name for a cfoutput? > >For example: ><cfset my-name = "Jim"> ><cfoutput>#my-name#</cfoutput> > >Im outputting a field in a LDAP server that has a hyphen in its name >and I cant seem to output it in ColdFusion. > >Regards, >James Blaha > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4