Brilliant this worked... thanks, didnšt realise you needed to assign the insert, I thought it inserted it without! Oh well! thanks again! Ryan
On 2/1/03 12:25, "Adam Reynolds" <[EMAIL PROTECTED]> wrote: > Have you considered that ref does not actually get bigger? > > should it not be > ref = insert('0','#ref#',0); > >> -----Original Message----- >> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] >> Sent: 02 January 2003 12:21 >> To: CF-Talk >> Subject: Re: Cfscript help >> >> >> Brackets were wrong - thanks, but its still times out! >> Any other thoughts? >> ryan >> >> On 2/1/03 12:12, "Mike Townend" <[EMAIL PROTECTED]> wrote: >> >>> Could be the brackets... Try... >>> >>> <cfscript> >>> while (len(#ref#) LT 5) >>> { >>> insert('0','#ref#',0); >>> } >>> </cfscript> >>> >>> -----Original Message----- >>> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]] >>> Sent: Thursday, January 2, 2003 12:07 >>> To: CF-Talk >>> Subject: Cfscript help >>> >>> >>> Hey >>> >>> Why does the following cfscript take absolutely AGES to load? >>> >>> <cfscript> >>> while (len(#ref# LT 5)) { insert('0','#ref#',0); } >>> </cfscript> >>> >>> Ryan >>> >>> ** posted to the cf-linux list by accident -- oops! >>> >>> >>> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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