While
Description
Executes the steps between a Loop.While step and a Loop.End_Loop while the expression in the Recognition field evaluates to True.
When the expression evaluates to false, execution skips to the step after the Loop.End_Loop step.
Example
This example illustrates a Loop.While construct.
| Type | Action | Recognition | Parameters | Value |
|---|---|---|---|---|
|
Variable |
Set_Value |
&Var =0 |
|
|
|
Loop |
While |
&Var <=3 |
|
|
|
Log |
Message |
The variable is &Var |
|
|
|
Variable |
Set_Value |
&Var = add[&Var|1] |
|
|
|
Loop |
End_Loop |
|
|
|