Purpose
The unconditional GO TO statement transfers program control to a specified executable statement.
Format
>>-GO TO--stmt_label------------------------------------------->< |
The unconditional GO TO statement transfers control to the statement identified by stmt_label.
The unconditional GO TO statement cannot be the terminal statement of a DO or DO WHILE construct.
Examples
REAL(8) :: X,Y GO TO 10
·
·
·
10 PRINT *, X,Y END
Related Information