Sheltran - Statement labels
In SHELTRAN the statement label is forbidden for all executable
statements. The only context in which the statement label is permitted
is in combination with a FORMAT statement. In this case the label must
be less than 10000.
As a direct consequence the following normal FORTRAN statements become
unuseable in SHELTRAN:
- all forms of GOTO
- all forms of IF
- the RETURN <variable> form of the RETURN statement
- the use of statement numbers in END= or ERR= clauses in I/O
- the use of statement numbers as arguments of CALL statements
To replace FORTRAN control structures several new SHELTRAN structures
have been introduced.