lua-users home
lua-l archive

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


On Tue, Jan 20, 2009 at 12:08 AM, Etan Reisner wrote:
> Aren't these functions covered by "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) and some value
> different from nil on success." from the top of the section?

True, missed that.

> Though that doesn't cover file:lines throwing an error
> and I'd argue that the file:seek specific text is unnecessary (given the above).

Yes.