Command "While"

Summary

While the given condition evaluates to 'true', the commands embraced by the 'while'-command are executed. The command belongs to the group "Control".


Parameters

Parameter Name Description Type
Condition The condition - returns 'true' or 'false'. valueexpression

Valid parameter combinations



Description

Loops over an enclosed block as long as the condition is "true".

Examples


Example 1

The example below loops over the enclosed code block as long as the property "name" is not equal 'Duck'. The property "name" has to be set within the code block!
<While Condition="not(equal(name,'Duck'))">
<CodeBlock.../>
</While>