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

ALIAS Directive

General Compiler Directive: Declares alternate external names for external subprograms.

!DIR$ ALIAS internal-name,external-name

internal-name

The name of the entity as used in the current program unit. It can be a procedure name, a COMMON block name, a module variable that is initialized, or a PARAMETER in a module. It may not be the name of an internal procedure.

external-name

A name or a character constant, delimited by apostrophes or quotation marks.

If a name is specified, the name (in uppercase) is used as the external name for the specified internal-name. If a character constant is specified, it is used as is; the string is not changed to uppercase, nor are blanks removed.

The ALIAS directive affects only the external name used for references to the specified internal-name.

Names that are not acceptable to the linker will cause link-time errors.