7.3 Interfaces

Explicit procedure interfaces are currently required when passing mapped objects through the procedure interface. An explicit interface is one of the following:

Explicit interfaces must specify any pointer, target, or allocatable attribute as well as array distributions. It is illegal in Digital Fortran 90 to omit pointer or target attributes in an interface block, or to give descriptive mapping directives that do not accurately describe the actual. Such an illegal program does not necessarily generate an error message, but program results may be incorrect.

Digital recommends the use of modules. The use of modules eliminates the need for explicit interface blocks at each subroutine call, and produces code that is easy to write and easy to maintain. Also, compilation time is generally reduced for programs written with modules.