Repeat a block of code until a condition becomes true, or a <break> is reached.
Not that, unlike <while> this tag will execute the enclosed block at least once.
If the until
attribute isn't given, the enclosed block will be executed just once.
<let i="1"/><do until="i==2"><echo>${i}</echo><let i="i+1"/></do><!-- prints "1" -->
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
until |
Condition | expression | No | None |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |