FCLOSE()
Closes an open file
- 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 and writes the associated DOS buffer to the disk. The value is derived from the FCREATE() or FOPEN() function.
- Examples
- nHandle:=FOPEN('x.txt')
- ? FSEEK(nHandle0,2)
- FCLOSE(nHandle)
- Status
Ready
- Compliance
- This function is CA-Clipper compliant
- Files
- Library is Rtl
- See Also