cmd_try Function (ROM Call 0x397)

AMS 1.01 or higher bascmd.h

void cmd_try (void);

Executes TI-Basic 'Try' command.

cmd_try is an internal subroutine used by the TI-Basic interpreter for initializing an error-protected block ('Try'...'EndTry'). As this function depends heavily on some system state variables of the TI-Basic intepreter which are not set correctly while executing an ASM program, it is extremely unlikely that this function may be used inside a C program for anything useful.

Note: See TRY, ONERR, and ENDTRY to learn how to take control over errors while executing a C program.


Uses: ER_catch, ER_success, ER_throwVar, bottom_estack, next_expression_index, push_Float, reset_estack_size, top_estack, index_after_match_endtag, push_simplify_statements, VarStore, _bcd_math, ROM Call 0x5C5, ROM Call 0x5C7, ROM Call 0x5C8


See also: cmd_endtry, cmd_clrerr, cmd_passerr, error.h