[Oberon] LOOP conversion

Bernhard Treutwein oberon at wildwein.de
Mon Jan 4 10:15:36 CET 2021


Our russian friends had a very long thread about conversion of LOOP - EXIT
	https://forum.oberoncore.ru/viewtopic.php?f=82&t=2547
it is readable and understandable with Google translate ...

I personally think that deliberate and good use of LOOP is not that bad. 

E.g., I find

LOOP
  Step;
  IF cond THEN EXIT END;
  CodeBlock
END

more attractive and readable than

Step;
WHILE ~cond DO
  CodeBlock;
  Step
END

--
  Bernhard


More information about the Oberon mailing list