cmd_cycle Function (ROM Call 0x338)

AMS 1.01 or higher bascmd.h

void cmd_cycle (void);

Executes TI-Basic 'Cycle' command.

cmd_cycle is an internal subroutine used by the TI-Basic interpreter for executing the Cycle command (performs searching for a matching For/EndFor instruction, etc.). 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: If you want to achieve a similar effect in the C language like using the Cycle command in TI-Basic, you should use the continue keyword.


Uses: next_expression_index, index_after_match_endtag, ROM Call 0x5C8