<@BREAK>DescriptionTerminates execution of an <@COLS>, <@ROWS>, or <@FOR> block. <@BREAK> causes execution to continue to the HTML following the current loop's close tag; outside of a loop, it does nothing. This tag has no attributes. This tag does not affect loops initiated with For Loop or While Loop actions. This tag is generally used with an <@IF> tag to terminate a loop when some condition is met. Be careful to handle nested loops properly: only the innermost loop's processing is affected by the break. ExampleThe following example returns records until the accumulated total of all the company.balance columns reaches or exceeds 1000: <@ASSIGN NAME="running_total"
VALUE="0">
See Also <@COLS>
</@COLS>
|
Copyright © 1998, Pervasive Software Inc. All rights reserved.