lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, 2002-04-29 at 16:48, Roberto Ierusalimschy wrote:
> > 	this is simple is there is no local value then try a global value if
> > there is no global then create a local value. 
> 
> This seems to mix up compile time with run time (locals are declared
> at compile time, globals are created at run time...)
> 

	Just out of curiosity, there is a good reason to create two classes of
variables? Why not having a locals table for each function and create
them at run time? 

-- 
[]'s Victor Bogado da Silva Lins
victor@visgraf.impa.br