Here it is:
function removeItem(){ var removeprice = 0; for(i=1; i lte arrayLen(cart); i=i+1) { if (cart[i].ITEM_ID IS url.remove) { removeprice=cart[i].PRICE; ArrayDeleteAt(cart, i); break; } } } As near as I can tell, nothing inside the "for" loop is executing. I've tried replacing arrayLen with a hard variable, I've tried GTE ... but if take everything out and do a writeout(), nothing appears. If I do the writeoutput outside of the for loop, then it works. I've checked the size of the arrayLen just prior to the loop, and it reads the expected value. It's the strangest thing ... this was working. I don't believe I changed anything. Then it stopped working. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Owens Internet Operations Coordinator InsideVC.com/Ventura County Star [EMAIL PROTECTED] AIM: GoCatGo1956 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4