-
Declaration:
- Procedure Flush (Var F : Text);
-
Description:
- Flush empties the internal buffer of an opened file F and writes the contents to disk. The
file is not closed as a result of this call.
-
Errors:
- Depending on the state of the {$I} switch, a runtime error can be generated if there is an
error. In the {$I-} state, use IOResult to check for errors.
-
See also:
- Close (465)
Listing: refex/ex26.pp