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 <[email protected]> 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  <[email protected]>  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.