lua-users home
lua-l archive

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

Robert Raschke wrote:
Maybe the documentation needs to state that lines(), read("*n"), and
read("*l") work on text files, not binary? I don't think these
functions make any sense for binary files.

May be it needs to state something like:

"output of these functions is undefined if the processed file
contain null characters"

(because there seems to be no standard providing definition
of the term "text file").