lua-users home
lua-l archive

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



_META = setmetatable({},{__index = getmetatable, __newindex = setmetatable})

Wow! I did not realize that. 

I am still not used to think in Lua terms  But I can feel of how powerful Lua is.

Thank you very much for pointing me in the right direction.

in the compiler: the creation of _ENV as an upvalue behind the scenes.

Yes. I appreciate that. It is a wonderful idea to be able to control environments so easily.

Thank you again very much

   Andrea

--
Andrea Vitali