FCLOSE()
Closes a file opened by low-level access
Syntax
FCLOSE( <nHandle> ) --> <lSuccess>
Arguments
<nHandle> DOS file handle
Returns
<lSuccess> Logical TRUE (.T.) or FALSE (.F.)
Description
This function closes an open file with a dos file handle of <nHandle> and writes the associated DOS buffer to the disk. The <nHandle> value is derived from the FCREATE() or FOPEN() function.
Examples
#include "fileio.ch" nHandle := FOpen( "x.txt" ) ? FSeek( nHandle, 0, FS_END ) FClose( nHandle )
Compliance
Clipper
Files
Library is rtl
Seealso
Pingback: Harbour All Functions – F | Viva Clipper !
Pingback: Harbour Files and Folders Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !