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>ferror()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FERROR()


Syntax:     FERROR()

Purpose:    To test for a DOS error after a file function.

Returns:    An integer numeric value.

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

            See DOSERROR() for a complete list of DOS errors.

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

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




See Also: DOSERROR() DOS Errors

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