11.2.1 ALIAS Directive

The ALIAS directive lets you specify an alternate external name to be used when referring to external objects such as subroutines and functions. This can be useful when compiling applications written for other platforms that have different naming conventions.

The ALIAS directive takes the following form:

cDEC$ ALIAS name, external-name
c
Is the letter or character that introduces the directive tag (see Section 11.1).
name
Is the name of the external object.
external-name
Is an identifier or a character constant delimited by apostrophes. 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.

For More Information:

For details on the linker for OpenVMS systems, see the OpenVMS Linker Utility Manual; on Tru64 UNIX systems, see ld(1).


Previous Page Next Page Table of Contents