FLUSH

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.

Calling Sequence

FLUSH, Unit 1 , ..., Unit n

Arguments

Unit i

The file units (logical unit numbers) to flush.

See Also

CLOSE , EMPTY , EXIT