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>

I�m outputting a field in a LDAP server that has a hyphen in its name
and I can�t 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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to