lua-users home
lua-l archive

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


is it possible to find out what environment is associated with
function at the specified call stack level?

Yes, with the function getfenv: http://www.lua.org/manual/5.1/manual.html#pdf-getfenv

_______________________
Humberto S. N. dos Anjos

I should put something witty here, but I can't think of anything...