Function GraError() Foundation
Determines the error code of the last graphic function called.
GraError( [<oPS>] ) --> nErrorCode
The return value of GraError() is a numeric value. It indicates the error code of the last executed graphic function in <oPS>. If the return value is zero, the last graphic function was executed without error. A value not equal to zero indicates an output error.
The graphic functions of Xbase++ call system functions for the appropriate graphic output. Graphic output is strongly dependent on the hardware and accompanying drivers. The GRA subsystem is hardware-dependent to the same extent as the operating system. If graphic output does not occur as expected, the cause of error can be determined using GraError(). The error codes for GraError() are defined as constants in the #include file GRAERROR.CH.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.