| cmd_for | Function (ROM Call 0x34F)

AMS 1.01 or higher | bascmd.h

void cmd_for (SYM_STR VarName, CESI start, CESI end, CESI step);

Executes TI-Basic 'For' command.

This is an internal subroutine used by TI-Basic interpreter for initializing a counter variable used in a 'For'...'EndFor' loop. 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 `for` keyword to learn how to use loops in C language which are similar to For...EndFor loops in TI-Basic.

Uses: push_difference, is_narrowly_independent_of, next_expression_index, top_estack, assign_between, divide_top, index_after_match_endtag, is_negative, is0, primary_tag_list, ROM Call 0x5C8

See also: cmd_endfor