lua-users home
lua-l archive

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


Hi all,

How hard would it be to modify Lua source code
to add "global" keyword for explicit declaration 
of global variables and make all variables local
by default?

Current implementation of Lua uses opposite
approach, but that approach is problematic
for us because our scripters are not
programmers and it seems there is no force
which makes them remember that they always
have to declare their variables as local.

Thanks for help,
Martin