lua-users home
lua-l archive

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


> For me, it's definitely "code as usual", though I can certainly live with
> 
>   do local _ENV = e;  f() end
> 
> In my adventure-book "Medusa" compiler, I execute user-written
> functions multiple times in slightly different environments that are
> passed around.

As answered in another message, neither _ENV nor "in do end" will work
in your example.

-- Roberto