Notes on Into the Realm of Oberon

This document tracks my experience of running examples and exercises in Eric Nikitin's introductory text: Into the Realm of Oberon. The book was run on Oberon/F, when it was still an Oberon system. I did an initial run using Blackbox Component Builder (the Oberon/F successor), which is mostly Oberon, but actually Component Pascal, a revised Oberon-2. The Ofe referred to in the book is the subsystem name in Blackbox, but is likely not needed in other Oberon systems.

Differences in examples

Using Blackbox Component Builder 1.6 on Windows led identifying a couple of build issues. In OfeParmtest,, ChangeVal uses parameter valNumber, then tries to output number instead of valNumber. number should be changed to valNumber in this instance.

In OfeRecord, Execute outputs carB.price with a size of 9. The program will compile and run, but a size of 8 will make the output line up.

Blackbox Component Builder

Type extension declarations, type bound procedures, and removal of the COPY built-in procedure require adapting programs from Oberon-2 to Component Pascal.

Chapter 3.3, LONGINT is 32-bit, but in Blackbox it is 64-bit. In OfeVal, use INTEGER not LONGINT for SET compatibility.

©2015 David Egan Evans.