[Oberon] Multiple RETURN in a procedure

Chris Burrows cfbsoftware at gmail.com
Mon Oct 24 07:07:51 CEST 2022


On Mon, Oct 24, 2022 at 2:13 PM Andreas Pirklbauer <
andreas_pirklbauer at yahoo.com> wrote:

>   > Wirth apparently believed the improvement to the language outweighed
>   > the effort of having to rework it for project Oberon 2013 - and he had
> a.
>   > choice I thank him for having the courage of his convictions.
>
> For TextFrames the effort was rather small though. The only place with
> multiple returns was a single procedure (procedure Min(i,j) incidentally.).
>

Hmm... you are right - the original version of TextFrames.Edit in the book
was not significantly affected by this issue. The multiple RETURNs must
have been added to the code later.

I was actually looking at source code downloaded from ETH. This source code
is dated 1994 and is accompanied by the note:

"This  directory contains the sources of the Oberon System  version 4
for Ceres-2  Workstations.  They replace the earlier version 1 sources
described
in the book "Project Oberon" from N. Wirth & J.  Gutknecht."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20221024/aa87f365/attachment.html>


More information about the Oberon mailing list