> If I understood you correctly, this point has been discussed several > times in this list. The old 'setfenv' mechanism is "too powerful", as > it breaks the basic abstraction mechanism of functions. Sorry, I have missed these threads... Here they are: http://lua-users.org/lists/lua-l/2011-05/msg00191.html http://lua-users.org/lists/lua-l/2011-05/msg00115.html http://lua-users.org/lists/lua-l/2011-03/msg01157.html I think I get it now :) Thank you all for the information! -- Artur