[Oberon] Initial value of variables, where specified?

Paul Reed paulreed at paddedcell.com
Wed Feb 12 17:07:01 CET 2020

Hi Rochus,

> ... Meanwhile I also found an
> example of a module level variable which is used before explicit
> initialization: e.g. nextCh in TextFrames.Mod where the first test
> "nextCh # CR" in procedure DisplayLine was non-deterministic if nextCh
> were not automatically initialized.

No, nextCh is always read before a call to DisplayLine.

Unless I missed something. :)


More information about the Oberon mailing list