Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>fclose()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FCLOSE()


Syntax:     FCLOSE(<expN>)

Purpose:    To close an open file, writing associated DOS buffers to
            disk.

Argument:   <expN> is the file handle obtained previously from
            FOPEN() or FCREATE().

Returns:    A logical value.

            FCLOSE() returns false (.F.) if an error has occurred while
            writing, otherwise it returns true (.T.).

Usage:      Note that FERROR() is not set when FCLOSE() fails.

Library:    EXTEND.LIB

            Warning: These functions allow low level access to DOS
            files and devices.  They should be used with extreme care
            and require a thorough knowledge of the operating system.


----------------------------------- Example --------------------------------

   handle = FCREATE("Testfile", 0)
   FCLOSE(handle)



See Also: FCREATE() FOPEN() FREAD() FREADSTR() FSEEK()

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