DADiSP Worksheet Functions > Function Categories > File Manipulation > FFLUSH

 

FFLUSH

Purpose:

Clears the buffer of input from or output to the specified file.

Syntax:

FFLUSH("filename")

"filename"

-

A string, the file name.

Returns:

A 1 if successful; otherwise it returns nothing.

Remarks:

If the file was open for output, the remaining contents of the buffer are written to the file. Used with FOPEN and FCLOSE.

See Also:

FCLOSE

FOPEN