lua-users home
lua-l archive

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



> I've been perusing the mailing list archives trying to determine what
> happened to the proposed "global" keyword for Lua 5. This comes up
because

http://lua-users.org/lists/lua-l/2003-01/msg00108.html

I do agree that the semantics of it got very complicated. My feeling is
that too much functionality was associated with the keyword. Function
environments (setfenv) replaced the keyword and are more powerful, but
don't cover all of the functionality that "global" was supposed to
supply (e.g. limited static testing).

Nick