Clear_Error_Context - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Error Handling

clear_error_context

Declaration:
void clear_error_context (void)
Category(ies):
Error Handling
Description:
Resets the internal variables associated with error handling. This
subroutine is called when an error throw is caught and not passed.
Inputs:
None
Outputs:
None
Assumptions:
None
Side Effects:
None
On AMS 2.00 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
/* This subroutine is called when an error throw is caught and not passed.
For example, when the calculator user presses the ON key, an ER_BREAK is thrown.
The following code segment passes all other codes but clears the ER_BREAK and
continues processing.
*/
TRY
/* code that may cause an error throw */
.
.
.
ONERR
if (errCode != ER_BREAK)
PASS;
clear_error_context ( );
ENDTRY
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
449
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents