Module subprograms
A module subprogram is a subprogram that is contained in a module
or submodule, but is not
an internal subprogram. A module subprogram has one of the following
forms:
- A function subprogram
- A subroutine subprogram
- A separate module subprogram