how about not looping at all:
<cfset emailtowrite = valueList(list.email,"#chr(13)##chr(10)#")>
<cffile action="append" file="#ExpandPath("users.lst")#"
output="#emailtowrite#">
~Simon
Simon Horwith
Macromedia Certified Instructor
Certified Advanced ColdFusion MX Developer
Certified Flash MX Developer
CFDJList - List Administrator
Fig Leaf Software
1400 16th St NW, # 220
Washington DC 20036
202.797.6570 (direct line)
http://www.figleaf.com
-----Original Message-----
From: Chris Edwards [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 01 April, 2003 9:56 AM
To: CF-Talk
Subject: how to make it go faster?
I have this:
<cfset emailtowrite = "">
<cfloop query="list">
<cfset emailtowrite = list.email & chr(13) & chr(10)>
<cffile action="append" file="#ExpandPath("users.lst")#"
output="#emailtowrite#">
</cfloop>
It still takes forever. Is there a faster method?
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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