[TOC] [Prev] [Next] [Bottom]



<@CONTINUE>

Description

Terminates execution of the current iteration of an <@COLS>, <@ROWS>, or <@FOR> block. Execution of the loop continues from the beginning of the block. Outside of an <@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.

Example

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.

See Also

<@BREAK>
<@COLS> </@COLS>
<@EXIT>
<@FOR> </@FOR>
<@ROWS> </@ROWS>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.