LF Fortran 95

GO TO Statement

Description

The GO TO statement transfers control to a statement identified by a label.

Syntax

GO TO label
Where:

label is the label of a branch target statement.

Remarks

label must be the label of a branch target statement in the same scoping unit as the GOTO statement.

Example

a=b go to 10 ! branches to 10 b=c ! never executed 10 c=d