cmd_else Function (ROM Call 0x345)

AMS 1.01 or higher bascmd.h

void cmd_else (void);

Executes TI-Basic 'Else' command.

This is an internal subroutine used by TI-Basic interpreter for finding the matching EndIf instruction when the Else instruction is encountered. 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 the if and else keywords to learn how to implement conditional execution in the C language.


Uses: index_after_match_endtag, ROM Call 0x5C8


See also: cmd_ifthen