Next: Input/Output
Up: The FORTRAN-77 programming
Previous: General requirements
In a clean program only the following structures will be used:
- sequence
- selection
- iteration
Other types of constructions should not be applied. We shall describe how these
constructions must be programmed in FORTRAN-77. Other types of control
statements which are allowed in FORTRAN-77 are forbidden.
- Sequence
- Selection
With respect to selection we allow for the following two constructions:
the IF - THEN - ELSE and
the SELECT - CASE construction
- Iteration
Among the various possibilities of iterations only the following three are
allowed:
- the WHILE construction and
- the FOR construction
- the REPEAT - UNTIL construction
ISNaS ontwikkeling
Wed May 24 08:37:14 METDST 1995