lua-users home
lua-l archive

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


>I can't remember if this has been discussed before, but I would very
>much like an option (either in Lua or C) that changes the default scope
>of variable declarations from global to local.

"global in {}" does (almost) this.
--lhf