[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Globals vs. Locals
- From: "Aaron Brown" <aaron-lua@...>
- Date: Fri, 5 Aug 2005 09:57:34 -0400
Uli Kusterer asked the oft-asked question of why Lua
variables are not local by default. Mike Pall responded:
> The reason is that 'local by default' does not mix well
> with lexical scoping.
This was a great explanation. The whole thing is available
at:
<http://lua-users.org/lists/lua-l/2005-08/msg00139.html>
--
Aaron