[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FCLOSE()

    FCLOSE() closes an open files, writing associated DOS buffers to disk.

Syntax

    FCLOSE(<expN>)

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

Example

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

WARNING: This function allows low level access to DOS files & devices.
             They should be used with extreme care and require a thorough
             knowledge of the operating system.

See Also: FCREATE FERROR FOPEN FREAD FREADSTR FSEEK FWRITE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson