Click or drag to resize

BEGIN-END Statement

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
BEGIN-END Statements

The BEGIN statement defines the start of a statement block.

The END statement terminates the statement block started by the immediately preceding BEGIN statement.

The BEGIN-END construct is commonly used in conjunction with FOREACH-IN, CREATE FUNCTION and WHILE statements.

Syntax

Alchemy
BEGIN
[...]
END

Example

Alchemy
/* Polygon type names */
$polynames = array.new("oceans", "lakes", "islands");
$i = 0;
WHILE $i < length($polynames)
BEGIN
IMPORT polygons [
  label = Dress(%polygon_nm),
  lang = %nm_langcd,
]
FROM "data\";
$i = $i + 1;
END