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

Syntax:     ERRORORG()

Returns:    A numeric value.
            The number corresponds to a code, which supplies further
            information of the device causing the error.

                        Code              Definition
            ----              ----------
             1                unknown
             2                block device (floppy disk, hard disk, etc.)
             3                network
             4                serial device
             5                RAM

Usage:      The device in which the fault occurred must be known in
            order to be able to react effectively to an error.  It is then
            possible to take the appropriate action.

Library:    CT1.LIB


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

Examples:   source = ERRORORG()

            IF source = 3
               ? "Error is in the network."
            ENDIF



See Also: ERRORACT() ERRORBASE() ERRORCODE()

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