cmd_passerr Function (ROM Call 0x36A)

AMS 1.01 or higher bascmd.h

void cmd_passerr (void);

Executes TI-Basic 'PassErr' command.

cmd_passerr does nothing if the TI-Basic system variable 'errornum' is equal to zero, else it throws an error (using the ER_throwVar function) whose number is equal to the value of the system variable "errornum".

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


Uses: ER_throwVar, top_estack, does_push_fetch, estack_to_float, is0, DerefSym, VarRecall, _bcd_math


See also: cmd_try, cmd_clrerr, cmd_exit, cmd_return