FCLOSE( ) Function

See Also

Flushes and closes a file or communication port opened with a low-level file function.

Syntax

FCLOSE(nFileHandle)

Returns

Logical

Arguments

nFileHandle

Specifies the file handle of the low-level file to close. The numeric file handle is returned when you create the file with FCREATE( ) or open the file with FOPEN( ).

Remarks

If the file is successfully closed, FCLOSE( ) returns true (.T.) and releases the file handle. If the file cannot be closed, FCLOSE( ) returns false (.F.).

CLOSE ALL also closes low-level files.