Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

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 <nHandle>
      and writes the associated DOS buffer to the  disk. The <nHandle>
      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: FOPEN() FCREATE() FREAD() FWRITE() FERROR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson