[Oberon] Oxford Oberon-2 Compiler and local procedures

August Karlstrom fusionfile at gmail.com
Fri Nov 28 09:58:40 MET 2008


Chris Burrows wrote:
>> From: oberon-bounces at lists.inf.ethz.ch 
>> [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of August 
>> Karlstrom
>> Sent: Thursday, 27 November 2008 7:39 PM
>> To: ETH Oberon and related systems
>> Subject: Re: [Oberon] Oxford Oberon-2 Compiler and local procedures
>>
>> 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. 
> 
> It is there but can be easily overlooked. See Section 10. 'Procedure
> Declarations'. In the Oberon-2 Report it states:
> 
> "Objects declared in the environment of the procedure are also visible in
> those parts of the procedure ..."
> 
> In the Oberon-07 Report it states:
> 
> "... the objects declared in the environment of the procedure are also
> visible in the procedure (with the exception of variables ..."

To me this says nothing about prohibited access to non-strictly local 
variables.


August


More information about the Oberon mailing list