lua-users home
lua-l archive

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


On Fri, 4 Jun 1999, Luiz Henrique de Figueiredo wrote:

> Unless I'm missing something, there's no need for a setallglobal.
> The setglobal for nil suffices because when a global is created, its value
> is nil. Then, inside the tag method you create a table wrapper for the global
> and give this table a tag. This same tag method is used for the setglobal
> for this tag.

Thanks!  I hadn't noticed that setglobal got the tag from the old value...

That does what I need it to do.

F