[Oberon] EXIT statement?

Matic Kukovec kukovecmatic at hotmail.com
Thu Aug 28 22:10:47 CEST 2014


Does anyone know the reasoning behind functionality of the EXIT statement?
Why does it only work inside a LOOP statement and not inside WHILE and FOR?
And also why is there no CONTINUE statement (as in C, Python, ...) , to skip to
the next iteration of a loop?

Is there some inherent drawback/downside in adding this to the language?

I'm looking into the OP2 compiler to see if I can add a few features that I like or that seem
quite useful for my needs.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/oberon/attachments/20140828/fec7f4c6/attachment.html 

More information about the Oberon mailing list