You can also do something like this in cfscritp to dynamically name
variables:

'url.#var_name#' = #value#;

Or

'#var_name#' = #value#;

You need to use quotes around the variable name for it to work...

I used this syntax just yesterday to bring a stuct in from flash and set
url variables dynamically by looping through the array of structures...

HTH,

--
Josh Trefethen

.:::::[ Exciteworks, Inc ]::[ http://exciteworks.com ]:::::. 
.::[ cf hosting on linux ]::[ consulting ]::[ expertise ]::.
 

> -----Original Message-----
> From: Taco Fleur [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, February 22, 2003 5:07 PM
> To: CF-Talk
> Subject: Dynamically naming vars in cfscript?
> 
> 
> Is it possible to dynamically name variables in cfscript? if so, how?
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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