ALIAS Directive

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

Syntax

cDEC$ ALIAS internal-name,external-name

c

Is a c, C, !, or *. (See Syntax Rules for Compiler Directives.)

internal-name

The name of the subprogram as used in the current program unit.

external-name

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

Description

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.

See Also