[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: global keyword instead of local
- From: "Martin Dvorak" <mdvorak@...>
- Date: Sat, 26 Aug 2000 21:56:48 +0200
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