[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ?problem with read("*l") with binary data
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 02 Apr 2001 09:44:03 -0300
Actually, read("*l") does not handle binary data. We thoght that the
concept of "line" itself does not make sense in a binary file (that's why
the manual did not explicitly explain this "limitation"). To read binary
data, you can use read('*all') (to read the whole file) or read(NUMBER),
to read a fixed number of bytes.
-- Roberto