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

    FERROR() tests for a DOS error after a file function terminates.

Syntax

    FERROR()

Returns

    An integer numeric value.

    FERROR() returns the DOS error from the last file operation.  If there
    is no error, FERROR() returns zero.

Example

    shandle = FCREATE("Temp.txt")                  
    IF FERROR() <> 0                               
       ? "Cannot create file, DOS error ", FERROR()
    ENDIF                                          

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: FCLOSE FCREATE FOPEN FREAD FREADSTR FSEEK FWRITE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson