MvFORCONTINUE#
An loop can be explicitly halted using the tag to exit the loop. Execution jumps to the code following the closing tag.
Syntax
<MvFORCONTINUE>
Example#
This examples loops from 1 to 100 incrementing the INDEX
by 1. The <MvFORCONTINUE>
tag is used to skip processing on every third loop.
<MvFOR INDEX="l.pos" FIRST="{ 1 }" NEXT="{ l.pos + 1 }" LAST="{ 100 }">
<MvCOMMENT> Skip the code every third loop </MvCOMMENT>
<MvIF EXPR="{ l.pos MOD 3 }">
<MvFORCONTINUE>
</MvIF>
... process the other items...
</MvFOR>