Hacker News new | ask | show | jobs
by olaf 2411 days ago
It has LOOP and EXIT, I remember that turned out to be the most used repetition construct when I was using (IIRC) JPI Modula-2.

For me, it was so easy to think about loops that way, with an EXIT/condition in the middle of the loop body.

1 comments

You're probably thinking of the original Oberon. Wirth has removed both LOOP and EXIT from Oberon-07. See here: http://people.inf.ethz.ch/wirth/Oberon/Oberon07.pdf.