[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Jerome Vuarand's reply to my "table return" query
- From: Ketmar Dark <ketmar@...>
- Date: Fri, 14 Sep 2007 17:47:43 +0300
hello, "Jeff Wise" <jwise@sealyrealty.com>.
On Fri, 14 Sep 2007 08:47:36 -0500
"Jeff Wise" <jwise@sealyrealty.com> wrote:
> It would seem to me that an option like VB's "Option Explicit" where
> all variable names must be declared would help with this sort of
> problem. Is this a major code effort, something that would
> compromise lua's philosophy, or .?
i'm using
luac -p -l db.lua | grep GETGLOBAL
and
luac -p -l db.lua | grep SETGLOBAL
to check for globals like 'f', 'c', etc. (i had a convention for local
variables naming). this was suggested by someone in this list.
maybe LuaLint does something like this, but i'm too lazy to check it.
%-)