Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FlexFile Reference Guide - <b>a_error()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 A_ERROR()
 Report specific error codes from FlexFile's error system
-------------------------------------------------------------------------------

 Syntax

    A_ERROR()   ->    nErrorValue

 Arguments

    None.

 Returns

    A_ERROR() returns a FlexFile error code as a numeric integer.

 Description

    A_ERROR() is an error function that will return the most recent
    error code that FlexFile set. If the failed operation has no
    FlexFile error code check the DOS error code using Clipper's
    DOSERROR().

    For a complete list of error codes and their descriptions
    refer to Appendix B.

 Examples

    // Declare a two dimensional array
    LOCAL aLong
    aLong = A_DECLARE( 'L', 5, 7 )

    // Using A_KILL() on a non-string type array is an error.
    A_KILL( aLong )

    // Show the error code for a type mismatch.
    ? A_ERROR()                   // Result: 2001

See Also: Error Codes

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