GetErrorcode (Retrieve the current Errorcode)

Top  Previous  Next


GetErrorcode([errorlevel] )


Retrieves the current error code


An integer constant, variable, EQUATE, or expression that indicates the error level.

The GetErrorcode method retrieves the error code from the SaveErrorCode or SaveFileErrorCode property, based on the type of errorlevel detected.


Return Data Type:     LONG

See Also: Trappable Errorcodes