Intermediate scopes in Oberon-07
> > How shall it be, if a nested procedure can only access its own > > parameters and local stuff? No access to outer scopes! > >
That is not correct. Nested procedures can still access global variables.
I think he just meant to say “no outer scopes except the global one"
Hmmm... I meant not global as well. With thanks and best regards, Yours sincerely, Srinivas Nayak Home: http://www.mathmeth.com/sn/ Blog: http://srinivas-nayak.blogspot.in/ On 02/26/2018 02:24 AM, Andreas Pirklbauer wrote:
> > How shall it be, if a nested procedure can only access its own > > parameters and local stuff? No access to outer scopes! > >
That is not correct. Nested procedures can still access global variables.
I think he just meant to say “no outer scopes except the global one" -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (2)
-
Andreas Pirklbauer -
Srinivas Nayak