> > ref = insert('0',ref,0);

is better.

> -----Original Message-----
> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: 02 January 2003 12:35
> To: CF-Talk
> Subject: Re: Cfscript help
>
>
> 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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to