Previous: Seek procedure To the Table of Content Next: SeekEoln procedure

- 4.62.2.77 -
Standard Units
System Unit
System Unit Procedures and Functions

SeekEof procedure

Targets: MS-DOS, OS/2, Win32


System Unit

Returns the end-of-file status of a file.

Declaration:
function SeekEof [ (var  F: Text)]: Boolean;
Remarks:
SeekEof works only on text files and is similar to Eof however it ignores blanks, tabs, and end of line markers that may exist before the end of file marker. With {$I-}, IOResult returns an error code if an error occurred, otherwise it is set to zero.

See also:
{$I} - I/O Checking Switch


Previous: Seek procedure To the Table of Content Next: SeekEoln procedure
Seek procedure Table of Content SeekEoln procedure

- 4.62.2.77 -