// list

for(i = 1;i LE ListLen(list);i=i+1){
element = ListGetAt(list,i);
}

// query

for(i = 1;i LE query.recordCount;i=i+1){
value = query.field[i];
}

Pascal

> -----Original Message-----
> From: Andrew Dixon [mailto:[EMAIL PROTECTED]
> Sent: 09 September 2004 11:42
> To: CF-Talk
> Subject: Looping in CFSCRIPT
>
> Hi Everyone.
>
> Does anyone know how to loop within CFSCRIPT over a query and/or a
> comma list, like you can with CFLOOP?
>
> Also, does anyone konw if there is a good guide to CFSCRIPT anywhere
> as the MM documentation of CFSCRIPT is pretty much none existant.
>
> Thanks
>
> Andrew.
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to