while

while

Executes a set of commands while the defined condition is true

Attributes:

condition: the condition to be evaluated. The same conditonal expressions used in the if command also apply to while command.

Examples:

<while condition="[x] LT 10" >
    <send string="[x]" />
    <pause seconds="1" />
    <math var="x" expression="[x] + 1" />
</while>