lua-users home
lua-l archive

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


On 22/10/2013 07:51, Jose Torre-Bueno wrote:
fh:read("*l")  will apparently not return more than 1024 char.  If there are more it rolls over and returns a fragment from the end of the line.

It works correctly for me with lines of any length (provided there is enough memory and the line does not contain '\0' characters).

--
Shmuel