The alias modifier allows the programmer to specify a different name for a procedure or function. This is mostly useful for referring to this procedure from assembly language constructs or from another object file. As an example, consider the following program:
Remark The specified alias is inserted straight into the assembly code, thus it is case sensitive.
The alias modifier does not make the symbol public to other modules, unless the routine is also declared in the interface part of a unit, or the public modifier is used to force it as public. Consider the following:
This will make the routine testroutine available publicly to external object files under the label name ARoutine.
Remark The alias directive is considered deprecated. Please use the public name directive. See section 14.9.17, page 823.