The unconditional GO TO statement transfers control to a specified statement.
|
Parameter |
Description |
|
s |
Statement label of an executable statement |
Execution of the GO TO statement transfers control to the statement labeled s.
s must be in the same program unit as the GO TO statement.
The statement control jumps to must be executable, not a DATA, ENTRY, FORMAT, or INCLUDE statement.
Control cannot jump into a DO, IF, ELSE IF, or ELSE block from outside the block.
A = 100.0 B = 0.01 GO TO 90 ... 90 CONTINUE