Why tokenize the list twice per iteration when we can do it three times per
iteration?  :-)

Sam

> -----Original Message-----
> From: Patricia Lee [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 4:09 PM
> To: CF-Talk
> Subject: Re: Can the following be written in cfscript?
>
> or as an alternate for the listloop:
>
> while (listlen(form.fieldnames) GT 0){
>   field = ListFirst(form.fieldnames);
>   form[field] = "";
>   form.fieldnames = ListRest(form.fieldnames);
> }
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to