lua-users home
lua-l archive

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


The Lua 5.2 manual is not clear whether io.lines(nil, ...) is valid, it only says `The call io.lines() (with no file name) is equivalent to io.input():lines(); that is, it iterates over the lines of the default input file. In this case it does not close the file when the loop ends.`

Could it be that the reference implementation deviates from the reference manual? Or is there something I missed?

See also https://github.com/MightyPirates/OpenComputers/issues/977
-- 
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.