lua-users home
lua-l archive

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


In message <4EF34CBC.6020805@dynaset.org> you wrote:

> Consider:
> 
> local myprint = print
> myprint"before"
> _ENV = {}
> myprint"after"
> 
> 
> It prints:
> before
> after
> 
> Where do myprint live after _ENV={} line?

On the stack - it is a local.
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/