Click or drag to resize

CONTINUE Statement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
CONTINUE Statement

The CONTINUE statement skips the remainder of the loop body and continues with the next iteration of the loop. The CONTINUE statement is often used in conjunction with the FOREACH-IN and WHILE statements.

Syntax

Alchemy
CONTINUE;

Example

Alchemy
$count = 0;
WHILE $count < 5
BEGIN
  $count = $count + 1;
  IF $count = 3 CONTINUE;
  PRINT $count;
END

The above code snippet produces the following output:

1

2

4

5

See Also

  • BREAK - used to skip the remainder of the loop and terminate loop execution