Previous: Dispose procedure To the Table of Content Next: Eoln function

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

Eof function

Targets: MS-DOS, OS/2, Win32

System Unit

Returns the end-of-file status.

Declaration:
function Eof(var F): Boolean;  // for Typed or untyped files
function Eof[(var F: Text)]: Boolean;  // for Text files
Remarks:
If an error occurred, IOResult returns an error code, otherwise IOResult is set to zero.


Previous: Dispose procedure To the Table of Content Next: Eoln function
Dispose procedure Table of Content Eoln function

- 4.62.2.22 -