Syntax
function Eof(var F: File): Boolean;
function Eof(var F: TextFile): Boolean;
Description
The Eof
function returns True if the file
F
is at the end of the file.
Eof
is not a real
function.
Errors
If the file F
is not open, Eof
reports I/O error 103.
The file F
must have been opened by calling
Reset
. If the file was opened by calling
Rewrite
or Append
,
Eof
reports I/O error 104.
See Also
Eoln Function, File Keyword, IOResult Function, Reset Procedure, SeekEof Procedure, TextFile Type, Truncate Procedure |