 |
cmd_while |
Function (ROM Call 0x39A) |
Executes TI-Basic 'While' command.
cmd_while is an internal subroutine used by the TI-Basic interpreter for
executing 'While'...'EndWhile' loops (searches for a matching 'EndWhile' instruction
and transfers the control there if the condition is not true).
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
while
keyword to learn
how to use loops in the C language which are similar to While...EndWhile loops
in TI-Basic.
Uses: next_expression_index, push_internal_simplify, top_estack, index_after_match_endtag, NG_control, ROM Call 0x5C8
See also: cmd_endwhile, cmd_endloop