5.6.1 Unconditional GO TO Statement

The unconditional GO TO statement transfers control to the same statement every time it executes. It takes the following form:

GO TO s
s
Is the label of an executable statement that is in the same program unit as the GO TO statement.

The unconditional GO TO statement transfers control to the statement identified by the specified label. The label must identify an executable statement that is in the same program unit as the GO TO statement.

Examples

The following examples show unconditional GO TO statements:

GO TO 7734

GO TO 99999


Previous Page Next Page Table of Contents