Previous: 4.67.2.21. Dispose procedure To the Table of Contents Next: 4.67.2.23. Eoln function
4.67.2.21. Dispose procedure Table of Contents 4.67.2.23. Eoln function

- 4.67.2.22. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.22. Eof function


4.67.2.22. 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: 4.67.2.21. Dispose procedure To the Table of Contents Next: 4.67.2.23. Eoln function
4.67.2.21. Dispose procedure Table of Contents 4.67.2.23. Eoln function

- 4.67.2.22. -