[Oberon] Oxford Oberon-2 Compiler and local procedures

August Karlstrom fusionfile at gmail.com
Thu Nov 27 10:08:44 MET 2008


Chris Burrows wrote:
>> -----Original Message-----
[...]
> Similarly in the Oberon-07 Report:
> 
>  "P must not be declared local to another procedure, and neither can it be a
> standard procedure"

The document "Oberon at a glance" also says the following about Oberon-07:

"No access to variables that are neither global nor strictly local" (*)

However, I can't find it in the Oberon-07 report. With this restriction 
Martin's code, where the procedure B accesses the integer I, would not 
be valid.


August


(*) http://www.inf.ethz.ch/personal/wirth/Articles/Oberon/OberonSummary.pdf

http://www.inf.ethz.ch/personal/wirth/Articles/Oberon/Oberon07.Report.pdf


More information about the Oberon mailing list