[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: errno handling on sys.() and io.() functions
- From: Ico <lua@...>
- Date: Thu, 31 Jan 2013 12:27:06 +0100
* 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.
--
:wq
^X^Cy^K^X^C^C^C^C