Next: Keyword Arguments
Up: More on Procedures
Previous: Explicit Interfaces for External
  Contents
Explicit interfaces are mandatory in the following situations.
- the external procedure has dummy arguments that are assumed-shape arrays,
pointers or targets. The compiler needs to figure out the rank, type and bounds
of the array that need to be passed to the routine;
pointers or targets. The compiler needs to figure out types and attributes
that are to be transmitted to the procedure;
- the external procedure has optional arguments; the compiler need to know
the names of the arguments to figure out the correct association;
- the external function returns an array or pointer valued result;
the compiler needs to pass back info in a different form than usual;
- the external character function contains an inherited LEN=*
specifier; the compiler needs to know to pass string length info to and from the
procedure;
- the reference is a call to a generic name (extra info required);
- the reference has a keyword argument (same reasons as for the optional
case);
- the reference is a defined assignment (extra info required);
- the function reference is a call to a defined operator (extra info
required);
Next: Keyword Arguments
Up: More on Procedures
Previous: Explicit Interfaces for External
  Contents
Adrian Sandu
2001-08-26