HP 3000 Manuals

Avoiding Unstructured FORTRAN 77 Features [ HP FORTRAN 77/iX Programmer's Guide ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Programmer's Guide

Avoiding Unstructured FORTRAN 77 Features 

One factor in making a program transportable is to "plan for the future"
in regard to changes.  In general, the unstructured features of FORTRAN
77 make programs harder to understand and modify, and therefore reduce
portability.  Some of the unstructured features are:

   *   Assigned GOTO statement

   *   ASSIGN statement

   *   Computed GOTO statement

   *   Arithmetic IF statement

   *   Any use of Hollerith data

   *   EQUIVALENCE statement

The list above includes only the least structured features of FORTRAN 77.
You should also omit any other features from your programs that you think
are unstructured.



MPE/iX 5.0 Documentation