| cmd_goto | Function (ROM Call 0x352)

AMS 1.01 or higher | bascmd.h

void cmd_goto (SYM_STR LabelName);

Executes TI-Basic 'Goto' command.

cmd_goto is the main subroutine for executing the TI-Basic Goto statement. It searches the current TI-Basic program for the label whose name is pointed to by LabelName (see SYMSTR. cmd_goto throws an error if it is not found, otherwise it tells the TI-Basic interpreter where it is found (by storing its address in an internal variable). It is not likely that this function may be useful inside a C program for anything.

Uses: are_expressions_identical, next_expression_index, ROM Call 0x5C7, ROM Call 0x5C8
Used by: cmd_toolbar