4 ms·
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
by olaf 7y 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.
- ainar-g 7y agoYou'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 http://people.inf.ethz.ch/wirth/Oberon/Oberon07.pdf.