An interface block, when present, allows the compiler to check the expected shape and type of any number of arguments to a subroutine during the compilation of the calling program.
What does an interface block provide?
- A debugging aid
- Better efficiency
What goes into an interface block?
- FUNCTION/SUBROUTINE header
- Dummy argument declarations
- Compiler directives (if any)
- INTENT statements
- Local declarations