Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

MODULE FUNCTION

Statement: Indicates a separate module procedure.

Example

submodule (M) A
contains
  real module function foo (arg) result(res)
    type(tt), intent(in) :: arg
    res = arg%r
  end function foo
end submodule A