MvWHILECONTINUE#
Returns program flow to the top of the loop, performing the operations would normally occur at the bottom of the loop i.e. testing the expression.
Syntax
<MvWHILECONTINUE>
Example#
This example parses a comma separated list. The <MvWHILECONTINUE> tag is used to skip items in the list that start with the letters N through Z.
<MvASSIGN NAME="l.posn" VALUE="{ 1 }">
<MvASSIGN NAME="l.item" VALUE="{ gettoken(l.fieldlist,',',l.posn) }">
<MvWHILE EXPR="{ l.item }">
<MvASSIGN NAME="l.posn" VALUE="{ l.posn + 1 }">
<MvCOMMENT> filter out items that start with N to Z </MvCOMMENT>
<MvIF EXPR="{ toupper(l.item) GT 'M' }">
<MvWHILECONTINUE>
</MvIF>
<MvEVAL EXPR="{ l.posn - 1 $ '. ' $ l.item }"><br>
<MvASSIGN NAME="l.item" VALUE="{ gettoken(l.fieldlist,',',l.posn) }">
</MvWHILE>