[Oberon] Unneeded restrictions on local procedures

August Karlstrom fusionfile at gmail.com
Wed Dec 20 19:19:07 CET 2023


On 2023-12-20 07:50, Joerg wrote:
> Why is it invalid?

Because the language report says so.

> By forbidding access to intermediate variables, constants and types, P 
> becomes „self-contained“ (aka could be freely moved around without any 
> harm).

Exactly and that's why I think that the language report should be 
changed to allow local procedures to be assigned to variables and passed 
to procedures. The current restrictions are no longer necessary.


/August


More information about the Oberon mailing list