<Syntax> |
|
|
|
IMPORT [ [ :: ] import-name
[ , import-name ]... ]
The IMPORT statement is permitted only in an interface body.
|
|
|
|
|
|
<Semantics> |
|
|
|
The IMPORT statement imports the named entities, which may be types, named
constants, variables, or procedures, into the interface body.
This is particularly useful for accessing type definitions and kind parameter
values from inside an interface.
If no import-name appears in the statement, all named symbols that do
not have local declarations in the interface body are imported (just like host
association).
A symbol that is imported and used within the interface body must be defined
prior to the interface block.
|
|
|
|
|
|
<Related> |
|
|
|
INTERFACE statement,
USE statement |
|
|