lua-users home
lua-l archive

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

On Thu, Oct 22, 2009 at 6:26 AM, Luiz Henrique de Figueiredo
<> wrote:
>> The behaviour I'm after would instead create a new key/value in the
>> inner scope if it didn't exist there already.
> Evaluate scripts in their own empty environment that have __index to the
> outer one. So you can read values from the outer scope but write only
> in the inner one.

note that that's exactly what module(name,seeall) does