Texas Instruments TI-89 Developer's Manual page 495

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

Advertisement

Appendix A: System Routines — Error Handling
ER_throwFrame
Example:
/* App error numbers begin with OO_FIRST_APP_STRING */
#define ER_COUNT_TOO_LONG (OO_FIRST_APP_STRING+1)
FRAME(appObj, OO_SYSTEM_FRAME, ...)
.
.
.
/* String numbers begin with OO_FIRST_STRING */
ATTR(OO_FIRST_STRING+ER_COUNT_TOO_LONG,"COUNT MUST BE <= 1024")
ENDFRAME
pFrame pAppObj = (pFrame)&appObj;
.
.
.
unsigned long count = estack_to_ulong(top_estack);
if (count > 1024)
ER_throwFrame(ER_COUNT_TOO_LONG, pAppObj);
TI-89 / TI-92 Plus Developer Guide
(continued)
Not for Distribution
/* Throw app error number */
Beta Version January 26, 2001
453

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents