# 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.

Parent topic: A to B

## See Also

ATTRIBUTES ALIAS
ATTRIBUTES DECORATE
ATTRIBUTES DEFAULT
General Compiler Directives
Syntax Rules for Compiler Directives