FCLOSE( ) Function

JavaScript Editor js editor     Web development 



Main Page

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

FCLOSE(nFileHandle)

Parameters

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(В ).

Return Value

Logical

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.

See Also



JavaScript Editor js editor     Web development