Hey Brad, Thanks for the tip but I tried that already. It just outputs [#Loop#] in the file I'm writing.
I am in a <cfsavecontent> block btw. -----Original Message----- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: June-25-08 3:02 PM To: CF-Talk Subject: RE: CF tags in CFFILE write In ColdFusion, you need to wrap a variable in pound signs (#) for its value to be output. <cfoutput> <CFLOOP from="1" to="#toloop#" index="Loop"> var lat[#Loop#] = {latitude}; </CFLOOP> </cfoutput> -----Original Message----- From: Rick Sanders [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 12:55 PM To: CF-Talk Subject: RE: CF tags in CFFILE write Well, The tag worked, but it doesn't write the row number in the loop, it just writes [loop]. <CFLOOP from="1" to="#toloop#" index="Loop"> var lat[Loop] = {latitude}; </CFLOOP> Within the cfsavecontent, how can I make the row number show up in the loop when I define it? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

