lua-users home
lua-l archive

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

>      local buffer = inpfile:read("*line")
>      local slen = string.len(buffer)
> The program raises an error on an input line of length 1 when buffer = 0x0C.
> The actual data line is X'0C0A0D'.

This should not happen. Can you give further details on the error message?