While
Executes a contained activity while a condition evaluates to true.
#
Designer PropertiesCondition The condition checked at the beginning of the loop to determine whether the loop is executed again. Body The child activity to be executed with every iteration.
#
Properties#
General PropertiesSee General Properties.
#
Misc- Display Name See Misc.
- Condition The condition checked at the beginning of the loop to determine whether the loop is executed again.
#
Out ErrorSee Out Error.
#
ExampleIn this example, we log in the output window the numbers from 0 to 4. The difference between while and dowhile is that the condition is executed at the beginning for while. If I had used the same condition for while like I did for dowhile(index > 0 AndAlso index < 5), the body of the while will not execute(No values would be printed to the output panel).