lua-users home
lua-l archive

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

> <>

Nice idea, but a suppose, it could be tweaked like ("filename") returns <handle | nil, error_message>

It would also be helpful if manuals would contain flag if function is
assert ()-passable like:

local fh = assert ( ("name")) -- best way


local something = assert (somefunc (args), "somefunc () failed") --
also good way