Description

The Goto Statement is used with the Label Statement. Goto statement is specified with the Label variable to allow a conditional Jump matching the Specified Label's Label variable. Statements within the specified Matching Label variable are executed. There can be multiple goto statements in a program each with a different label variable.

Syntax

Goto LabelVariable1

Label LabelVariable1
Statement1
Statement2
.
.
Goto LabelVariable2

Label LabelVariable2
Statement1
Statement2
.
.

Back