lua-users home
lua-l archive

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

* On Thu Jan 31 12:14:32 +0100 2013, Roberto Ierusalimschy wrote:
>   Unless otherwise stated, all I/O functions return nil on failure (plus
>   an error message as a second result and a system-dependent error code
>   as a third result) [...]
>  [...]
>   os.remove (filename)
>   [...] If this function fails, it returns nil, plus a string describing
>   the error and the error code.

Very true, thanks for pointing that out.