There isn't a tuple is sight there - you are dealing with lists, and you<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

are modifying the very list you are iterating over.<br>
<br>
Try rewriting the code to create a new list from the old one (i.e.<br>
iterate over catChains and have your code append to an initially empty<br>
list called, for example, newCatChains, then finally throw the old list<br>
away with<br>
<br>
  catChains = newCatChains<br>
<br>
or some such).<br></blockquote><div><br>Thanks! <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> PS (Mainly, I believe, for Carsten): While programming is difficult for<br>
<div class="im">
> me, I am writing (and have pretty much finished) this (almost) fully<br>
> automated shopping cart. I don't intend to write any other serious<br>
> programming project. However, a shopping cart is vital to my Web design<br>
> business. I will hereafter outsource my programming. But, as any good<br>
> supervisor knows, one has to know how to supervise! If I can't read<br>
> code, then I'm at the mercy of my programmer(s). If I can't afford to<br>
> hire some top gun who can supervise, then it's my responsibility. Plus,<br>
> if my programmer(s) quit, I need to step in and take over. I'm an ok<br>
> businessman, and absolutely gifted in sales. And in poetry ;)<br>
> beno<br>
><br>
</div>Given that there are umpteen thousand hosting services who will let you<br>
create a web site with shopping cart included I have to question whether<br>
you are making the best use of your time here. Of course it's your time,<br>
and your decision, so please don't think I am dictating to you.<br></blockquote><div><br>It doesn't give one the control upon which I insist. No. That's not an option. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
While the learning you have performed in getting this system to work<br>
(for some rather questionable value of "work", I can't help feeling, but<br>
we'll overlook the horrors induced by your lack of programming<br>
experience) is a testament to your persistence (and this list's<br>
tolerance) I can't help feeling that it leaves you no better qualified<br>
to supervise programmers.<br></blockquote><div><br>Ah, but you aren't a businessman, are you? You wouldn't know...<br>beno<br>
</div></div>