lua-users home
lua-l archive

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

On Wed, Feb 18, 2009 at 7:57 PM, Florin Andrei wrote:
> Please see the script attached to this message and comment...

I'd make heavier use of locals (e.g. for easier static analysis[1]).
os.exit(n) can be used to return a non-zero error code to the shell
upon failure.  table.maxn(arg) could be rewritten #arg.