From: Bulat Ziganshin Date: 2002-10-03T14:57:35+09:00 Subject: Re: Can soneone tell me what I'm doing wrong... 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