[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Speed comparison (now scoping)
From:       Fred Bertsch <fb () anise ! ee ! cornell ! edu>
Date:       1999-06-05 14:05:46
Message-ID: Pine.HPP.3.96.990605100449.19991e-100000 () surge ! ee ! cornell ! edu
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic