lua-users home
lua-l archive

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


On 9/8/05, Mildred <ml.mildred593@online.fr> wrote:
> I can't understand well environments and so the function getfenv.

getfenv returns a regular table which contains global variables. 
Local variables are never stored in the envrionment tables.

See  http://www.lua.org/pil/14.3.html

- Peter Shook