<cfset VARIABLES["filename#i#"] = filename> Give that a go.
Adrian > -----Original Message----- > From: Fawzi Amadu [mailto:[email protected]] > Sent: 22 April 2009 19:35 > To: cf-talk > Subject: Creating a dynamic variable to for storage > > > I have a loop within which I am trying to create a various variable. My > code (below) is replying an error which I believe is due the my syntax > being wrong. Please advise on how to construct such variable creation. > > > Code: > > <cfset filename"#i#" = "#filename#"> > > Error: > > Invalid CFML construct found on line 75 at column 34. > > ColdFusion was looking at the following text: > \" > > TIA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

