Loop For                                                                    Last updated 2010.1.18 (v1.0 Eng)

This command is used to repeat the command lines in the block for the specified number of times. Given an initial value and a terminal value, the loop will repeat while increasing the variable by 1.

program_loop_1.png

The number of executions can be calculated as:

This is the equivalent of the "for" function in C language.

 

Usage

 

Example

program_loop_4.png