Can you use a while loop instead? A while loop will do everything a for
loop can do except stop itself. You have to supply a boolean wired to the
iteration stop.
"Victor Chernov" wrote in message
news:9s3as6$qh$1@news.huji.ac.il...
> A silly question, but I can't manage it - I have a "for" loop, and I want
to
> be able to stop it, with boolean control if possible. I can't find a way
to
> do it. Is there something like "break" in many other languages?
>
> Thank you, Victor
>
>