function Eof([var F: File]): Boolean; overload; function Eof([var F: File]): Boolean; overload;
Tests whether the file position is at the end of a file.
In Delphi code, Eof tests whether the current file position is the end-of-file. F is a file variable that has been opened for reading. If F is omitted, the standard file variable Input is assumed.