Hey Ray I saw your reply in the archives, but I haven't see it on the list
yet. I did forget step="-1". Thanks for your help!



-----Original Message-----
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 1:56 PM
To: CF-Talk
Subject: RE: ArrayDeleteAt() without using cfbreak


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

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