I tried, doing it that way, it doesn't update any of the lines.

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 1:50 PM
To: CF-Talk
Subject: RE: ArrayDeleteAt() without using cfbreak


Why not just loop backwards?

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 11:19 AM
> To: CF-Talk
> Subject: ArrayDeleteAt() without using cfbreak
>
>
> <cflock timeout="2" throwontimeout="yes" type="exclusive"
> scope="session">
>       <cfloop from="1" to="#ArrayLen(Session.usersCart)#" index="idx">
>               <cfif
> Request.factory.IsInteger(FORM['NumberOfCartTickets'&idx])>
>                       <cfif FORM['NumberOfCartTickets'&idx]>
>                               <cfset
> ArrayDeleteAt(Session.usersCart, idx)>
>                       <cfelse>
>                               <cfset
> Session.usersCart[idx][1]=FORM['NumberOfCartTickets'&idx]>
>                       </cfif>
>               </cfif>
>       </cfloop>
> </cflock>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to