1296
Appendix C: Macros — Error Handling
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
TRY
Declaration:
Not applicable.
Category(ies):
Error Handling
Description:
The TRY macro marks the beginning of an error handling block. There are
two kinds of error handling blocks: TRY . . . ONERR . . . ENDTRY and
TRY . . . FINALLY . . . ENDFINAL. See chapter
9. Error Handling
for a
complete discussion of throwing and catching exceptions.
Inputs:
Not applicable.
Outputs:
Not applicable.
Assumptions:
Not applicable.
Side Effects:
Not applicable.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: ER_throw, ER_throwFrame, ER_throwVar, ENDFINAL, ENDTRY,
FINALLY, ONERR
Example:
TRY
/* code which can throw an error */
ONERR
/* execution continues here only if an error was thrown above */
ENDTRY