The DLL_IMPORT statement specifies which procedures are to be imported from a dynamic-link library.
SyntaxDLL_IMPORT [::] dll-import-namesWhere:
dll-import-names is a comma-separated list of procedure names.
The procedures in dll-import-names must not be module procedures.
The procedures names listed in a DLL_IMPORT statement are "decorated" to match one of several calling conventions by using the "-ml xxx" switch at compile time.
Exampleprogram main integer :: half,i dll_import half ! dll_import statement integer,dll_import :: twice ! dll_import attribute i=half(i) end program main