| United States-English |
|
|
|
![]() |
HP Fortran 90 Programmer's Reference: HP Fortran 90 Programmer's Reference > Chapter 10 HP Fortran 90 statementsINTERFACE |
|
Introduces an interface block. Syntax
DescriptionThe INTERFACE statement is the first statement of an interface block. Interface blocks constitute the mechanism by which external procedures may be given explicit interfaces and also provide additional functionality, as described below. The INTERFACE generic-name form defines a generic interface for the procedures in the interface block. The INTERFACE OPERATOR (defined-operator) form is used to define a new operator or to extend the meaning of an existing operator. The INTERFACE ASSIGNMENT(=) form is used to extend the assignment operator so that it can be used (for example) with derived-type objects. ExamplesThe following examples illustrate different forms of the interface block:
Related statementsEND INTERFACE, FUNCTION, and SUBROUTINE Related conceptsFor related information, see the following: |
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||