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 <bulatz / integ.ru> 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