Terminates execution of the current iteration of a <@COLS>, <@ROWS>, <@FOR>, or <@OBJECTS> block. Execution of the loop continues from the beginning of the block. Outside of a <@COLS>, <@ROWS>, or <@FOR> block, this tag does nothing. <@CONTINUE> has no attributes.
This tag is generally used with an <@IF> tag to terminate the current iteration of a loop when some condition is met. Be careful to handle nested loops properly: only the innermost loop's processing is affected by the continue command.
The following example suppresses the printing of the records where the type column has the value "internal". If the type column has the value "internal", the loop processing goes directly to the
</@ROWS> tag (and then to the beginning of the loop if there are more records).
Only public records will be shown.
<@ROWS>
<HR>
Here are the values from record <@CURROW> of the results:<P>
<@IF EXPR="<@COL TYPE>='internal'" TRUE="<@CONTINUE>">
<STRONG>Name:</STRONG> <@COLUMN NAME="contact.name"><BR>
<STRONG>Phone:</STRONG> <@COLUMN NAME="contact.phone"><BR>
</@ROWS>
End of records.
<@BREAK>
<@COLS> </@COLS>
<@EXIT>
<@FOR> </@FOR>
<@OBJECTS></@OBJECTS>
<@ROWS> </@ROWS>