Hello Matt,

Thursday, October 03, 2002, 9:44:54 AM, you wrote:

>> >>> > 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.

MG> Well, that's simple enough. I was expecting something more esoteric. So
MG> does this mean that at the implementation level there's really no
MG> difference between

MG>     stuff.each

MG> and

MG>     for (int i = 0; i < stuff.length(); i++) {

definitely yes! iterator is a method of ABSTRACTING this cycle, hiding
implementation details from class user. but internally it runs the
same cycle

-- 
Best regards,
 Bulat                            mailto:bulatz / integ.ru