FileTools[Flush] - flush output for a buffered file
|
Calling Sequence
|
|
Flush(file, file2, ...)
|
|
Parameters
|
|
file1, file2, ...
|
-
|
one or more names or file descriptors of open files to be flushed
|
|
|
|
|
Description
|
|
•
|
The Flush(file1, file2, ...) command ensures that output, which has been written to the specified files that are assumed to have been opened either implicitly, by Text[Open] or by Binary[Open], is written to disk.
|
•
|
The Flush function does not return anything.
|
•
|
When a file is closed, it is automatically flushed.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
|
|
Download Help Document
Was this information helpful?