The FLUSH procedure causes all buffered output on the specified file units to be written. IDL uses buffered output for reasons of efficiency. This buffering leads to rare occasions where a program needs to be certain that output data are not waiting in a buffer, but have actually been output.

Syntax


FLUSH, Unit1, ..., Unitn

Arguments


Uniti

The file units (logical unit numbers) to flush.

Version History


Original

Introduced

See Also


CLOSE, EXIT