Statement: Causes data written to a file to become available to other processes or causes data written to a file outside of Fortran to be accessible to a READ statement. It takes one of the following forms:
FLUSH([UNIT=]io-unit [,ERR=label] [IOSTAT=i-var])
FLUSH io-unit
io-unit |
(Input) Is an external unit specifier. |
label |
(Input) Is the label of the branch target statement that receives control if an error occurs. |
i-var |
(Output) Is a scalar integer variable that is defined as a positive integer if an error occurs and zero if no error occurs. |