From: William Djaja Tjokroaminata Date: 2002-10-03T22:25:39+09:00 Subject: Re: Can soneone tell me what I'm doing wrong... Hi Bulat, See, ... this index will *point* to next element ... There I think we use a concept of pointer :). Fortunately, Matt grasped it easily. Regards, Bill =========================================================================== Bulat Ziganshin wrote: > Hello William, > Thursday, October 03, 2002, 3:44:26 AM, you wrote: > use a concept of index :) when we delete element currently indexed by > iterator, this index will point to next element and when we increment > that index, we will just skip one element totally > WDT> Well, I don't know how to explain it easily without using the concept of > WDT> pointer. For the expert Ruby programmers, can someone help here? >>>> > If you ever used C++, then you would have known the issue of deleting an >>>> > element while you are traversing the container using an iterator. > -- > Best regards, > Bulat mailto:bulatz@integ.ru