Special label used in trap clauses to terminate iteration of a loopΒΆ

CONTINUE

Special label used in trap clauses to terminate the current iteration of a loop


SYNTAX

trap = CONTINUE

This label is only used within the trap clause of a Sculptor command. It immediately terminates the current iteration of a for, while or do loop, and passes control to the conditional test to determine whether the loop continues.

trap may be any valid trap for the Sculptor command being used.


NOTES

  • Functionally equivalent to the continue command.


EXAMPLE

while (1) {
     next Samples nsr = BREAK riu = CONTINUE
     ProcessSample()
}

RELATED TOPICS

continue

BREAK

BREAKIF

Traps