456
Appendix A: System Routines — Error Handling
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
find_error_message
Declaration:
const unsigned char *
find_error_message
(int
error_code
)
Category(ies):
Error Handling
Description:
Returns a pointer to the message associated with a specified error_code.
Inputs:
error_code
— An error code.
Outputs:
A pointer to the text message associated with the specified error code. If
the input is not a valid error code, then the routine returns a pointer to the
string “Unknown ERROR code”.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
unsigned char * cp = find_error_message (ER_DATATYPE);
Assigns to cp a pointer to the string “Data type”.