Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

BREAK - exit loop

 

SYNOPSIS

<BREAK>


DESCRIPTION
The BREAK statement exits the innermost enclosing looping statement, such as WHILE, SQL, LOOP, etc. It is useful for exiting a long loop quickly when the remaining iterations aren't needed.


EXAMPLE

<TIMPORT ROW $schema FROMFILE /tmp/mbox>
  <!-- stop before today's messages: -->
  <IF $Date gt "start of today">
    <BREAK>
  </IF>
  ... process current message ...
</TIMPORT>


CAVEATS
The BREAK statement was added in version 1.0.855300000 19970206.

Note that unlike in C, BREAK does not exit a SWITCH statement.


SEE ALSO
CONTINUE


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.