[Oberon] LOOP replacement - was: RE: IMPORT Modules: why does order matter?
Chris Burrows
chris at cfbsoftware.com
Tue Mar 5 08:50:25 CET 2019
> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> Treutwein Bernhard
> Sent: Tuesday, 5 March 2019 12:32 AM
> To: 'ETH Oberon and related systems'
> Subject: [Oberon] LOOP replacement - was: RE: IMPORT Modules: why
> does order matter?
>
> >The cases where I did the EXIT elimination so far were easy ones
> with
> >direct childs. If you have nested IFs it s getting uglier indeed.
>
> Our Russian friends had a lengthy discussion about replacing LOOPs
> https://forum.oberoncore.ru/viewtopic.php?f=82&t=2547
> it is readable and understandable with Google translate or Promt
> (http://www.online-translator.com/site/auto/ru-
> en/?url=https%3a%2f%2fforum.oberoncore.ru%2fviewtopic.php%3ff%3d82%26
> t%3d2547)
Thanks Bernhard,
That's brilliant! Unfortunately the sort of clumsy use of LOOPs and EXITs given in the examples are not that unusual :-(
Cheers,
Chris
More information about the Oberon
mailing list