Eof
True when the end of the file has been reached.
Eof ( stream )
Parameters
- stream
- the file or stream's handle.
Description
Gives back 1 when there is nothing more to read from a file or stream, and 0 while there is. A network stream that broke gives back -1. The usual way to read a whole file is While Not Eof(f) with a read inside.
