Labels

Description

You can include labels in scripts for use with GOTO statements.

Syntax

Identifier:

Usage

A label can be any valid identifier. You can enter it on a line by itself above the statement or at the start of the line before the statement.

For information about the GOTO statement, see GOTO. For information about valid identifiers, see Identifier names.

Examples

On a line by itself above the statement

FindCity:IF city=cityname[1] THEN ...

At the start of the line before the statement

FindCity: IF city=cityname[1] THEN ...