- 4.67.2.77. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.77. SeekEof procedure
4.67.2.77. 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
- 4.67.2.77. -