lua-users home
lua-l archive

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

> for the sake of symmetry, you should allow readfrom and writeto to accept an
> additional parameter, 1 or 'b', to open the file in binary mode.

readfrom/writeto are for simple uses/simple people ;-) For more advanced
uses (such as binary files), we prefer to give power to openfile.

> [...] you should at least state explicitely in the
> manual that these functions can be used only for text files.


-- Roberto