GOTO (Unconditional GOTO)
◄Up► ◄Contents► ◄Index► ◄Back►
─────GOTO (Unconditional GOTO) ─────────────────────────────────────────────
Action
Transfers control to a labeled statement
Syntax
GOTO label
Parameter Description
label The label of an executable statement in the same
program unit
Remarks
If the label does not exist in the same program unit, a compile-
time error occurs.
GOTO statements may not transfer control into a DO, IF, ELSEIF, or
ELSE block from outside the block. The $DO66 metacommand can
override this restriction for DO loops.
See Also: ◄$DO66►
Example
GOTO 4077
.
.
.
4077 CONTINUE
-♦-