- 4.67.2.31. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.31. Flush procedure
4.67.2.31. Flush procedure
Targets: MS-DOS, OS/2, Win32
System Unit
Flushes the buffer of a text file open for output.
Declaration:
procedure Flush(var F: Text);
Remarks:
Flush only works on files opened for output.
Use ReWrite or
Append to open a file for output.
IOResult contains an error code if
an error occurred, otherwise it is set to zero.
Calling Close flushes buffers to disk
before closing the file.
- 4.67.2.31. -