1294
Appendix C: Macros — Error Handling
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FINALLY
Declaration:
Not applicable.
Category(ies):
Error Handling
Description:
TRY . . . FINALLY . . . ENDFINAL allows a program to execute a section of
clean-up code whether or not an exception is thrown in the TRY section.
The
FINALLY
macro marks the beginning of the clean-up section. 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,
ONERR, TRY
Example:
TRY
/* code which can throw an error */
FINALLY
/* Execution continues here. If an error was thrown in the TRY section, the error
is re-thrown after executing this section. */
ENDFINAL