Fortran/Fortran Control: 1 Selection
Fortran/Fortran Control: 1 Selection
1
2 3 SIMPLE STATEMENTS
print*,isquare end do
3 Simple statements
GO TO statementNumber will jump to the specified state-
ment number.
STOP conditionCode will stop with the specified condi-
tion code or exit code. STOP may be coded without an
argument. Note that on many systems, STOP 0 is still a
failure.
EXIT will leave a loop.
CONTINUE can be used to end an archaic DO loop when
it would otherwise end on an IF.
CYCLE will transfer the control of the program to the
next END DO statement.
RETURN leaves a subroutine or function.
3
4.2 Images