Previous: 4.67.2.30. FillChar procedure To the Table of Contents Next: 4.67.2.32. Frac function
4.67.2.30. FillChar procedure Table of Contents 4.67.2.32. Frac function

- 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.


Previous: 4.67.2.30. FillChar procedure To the Table of Contents Next: 4.67.2.32. Frac function
4.67.2.30. FillChar procedure Table of Contents 4.67.2.32. Frac function

- 4.67.2.31. -