Previous: FillChar procedure To the Table of Content Next: Frac function

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

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: FillChar procedure To the Table of Content Next: Frac function
FillChar procedure Table of Content Frac function

- 4.62.2.31 -