IO.eof3kaya
Check for end of file.
Usage
Bool eof( File handle )
Arguments
handle The file handle
Overview
This returns true if the end of the file has been reached, and false otherwise. It is always false after IO.fseek (3kaya)
-
lines = [];
while (!eof(h)) {
push(lines,get(h));
}
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.