[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: local by default?
- From: Victor Bogado da Silva Lins <bogado@...>
- Date: 29 Apr 2002 14:46:54 -0300
On Mon, 2002-04-29 at 14:43, Reuben Thomas wrote:
> > I think the best thing would be to default to local for read and write of
> > variables having read access to globals by default and have to declare write
> > access.
>
> But the problem is, when you see "print ()", is that a read of an
> undeclared, uninitialised local variable, or a read of a global?
this is simple is there is no local value then try a global value if
there is no global then create a local value.
--
[]'s Victor Bogado da Silva Lins
victor@visgraf.impa.br