CONTINUE - continue loop

SYNOPSIS

<CONTINUE>


DESCRIPTION
The CONTINUE statement continues the innermost enclosing looping statement, such as WHILE, SQL, LOOP, etc., at the start of its next iteration. It is useful for skipping a loop iteration near the top, without a long <IF> block over the remaining loop code.


EXAMPLE

<TIMPORT $schema FROMFILE /tmp/mbox>
  <!-- skip messages from "MAILER-DAEMON": -->
  <rex "MAILER-DAEMON" $From>
  <IF $ret neq "">
    <CONTINUE>
  </IF>
  ... process current message ...
</TIMPORT>


CAVEATS
The CONTINUE statement was added in version 4.0.999050000 20010828.


SEE ALSO
BREAK


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.