HP Fortran Programmer's Reference (September 2007)

HP Fortran statements
GO TO (unconditional)
Chapter 10 367
GO TO (unconditional)
Transfers control to a specified label.
Syntax
GO TO
label
label
is the label of an executable statement.
Description
The unconditional GO TO statement transfers control directly to the statement at the specified
label. The executable statement with
label
can occur before or after the GO TO statement, but
it must be within the same scoping unit.
Examples
GO TO 30
30 CONTINUE
Related statements
GO TO (assigned) and GO TO (computed)
Related concepts
For information about flow control statements, see “Flow control statements” on page 146.