lua-users home
lua-l archive

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


On Tue, 15 Feb 2011, Miles Bader wrote:

> Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
> > Better yet, it could return true for exit(0) and nil,what,code otherwise.
>
> That seems very useful and intuitive...

Or perhaps nil -> no error, number -> non-zero exit code, string -> signal name.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.