次の方法で共有


FCLOSE( ) Function

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

FCLOSE(nFileHandle)

Return Value

Logical

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

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

Reference

CLOSE Commands

FCHSIZE( ) Function

FCREATE( ) Function

FEOF( ) Function

FFLUSH( ) Function

FGETS( ) Function

FOPEN( ) Function

FPUTS( ) Function

FREAD( ) Function

FSEEK( ) Function

FWRITE( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)