Thunderstone Software Document Retreival and Management
Search:
Home Products News Support Contact Us About
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: Thu Mar 11 17:19:03 EST 2010
 
Home   ::   Products   ::   News   ::   Support   ::   Contact Us   ::   About
Copyright © 2010 Thunderstone Software LLC. All rights reserved.