Loop


Play a set of actions (steps block) quoted with the instruction 'Loop' and 'End loop' for a number of times.

A. Loop a number of times

Parameters

  • Loop a number of times Specifies the number of loops to be performed.

  • Variable for intermediate counter value Specifies a variable to store the complete times of loop.

B. Continuous loop

Parameters

  • Variable for intermediate counter value Specifies a variable to store the complete times of loop.

C. Loop through a range

Parameters

  • Initial value of counter Specifies the number for the initial value of the counter.

  • Final value of counter Specifies the number for the final value of counter.

  • Increment or decrement by step Specifies the step value for each time through the loop.

  • Variable for intermediate counter value Specifies a variable to store the intermediate counter value.

D. Loop if variable

Loops until the variable's value is or not equal specified value.

Parameters

  • Variable name Specifies the name of the variable which should be evaluated.

  • Comparison operator Specifies the operator.

  • Value for comparing Specifies the value expression for comparing with the variable.

  • As string value to evaluate Specifies whether to convert the variable to a string before evaluating.

E. Loop if expression

Loop until the expression evaluates to FALSE. The expression will be evaluated in each successive loop.

Parameters

  • Expression Specifies a logical expression whose value determines whether the commands between Loop and End Loop are executed. As long as expression evaluates to TRUE, the set of actions are executed.

Notes

  • In the case 'Loop through a range', you may specify the 'step value' less than the number 0 to decrease the counter value each time the loop repeats.
  • With the option "Intermediate counter value from zero" unchecked, the Intermediate value will start from 1.

Additional References