EXTERNAL_ALIAS Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation
HP FORTRAN 77/iX Reference
EXTERNAL_ALIAS Directive
The EXTERNAL_ALIAS directive allows the user to specify a new external
name for all occurrences of a given procedure or function name.
Syntax
$EXTERNAL_ALIAS name = {'new_external_name'}
{"new_external_name"}
name is a name appearing in the source code.
new_external_name is the name to which all references to name are to
be changed. The new_external_name is a string
which can include special characters. It must be
delimited by apostrophes (') or quotation marks
("). Only the first 15 characters are
significant.
Default None; procedures and functions retain their current
names.
Location The EXTERNAL_ALIAS directive must appear before any
executable statements in the program unit.
Toggling/ Duration Cannot be toggled using another EXTERNAL_ALIAS
directive after the appearance of executable
statements in the program unit. However, the
LOWERCASE directive could be used as a toggle.
Additional Information
The EXTERNAL_ALIAS directive differs from the ALIAS directive in the
following ways:
* The EXTERNAL_ALIAS directive changes both actual and formal uses
of the name (that is, calls and entry points), whereas the ALIAS
directive changes only actual references (calls).
* Only procedures or function calls can be specified; common blocks
cannot be specified.
* No parameter passing or language information can be specified; use
the ALIAS directive instead.
MPE/iX 5.0 Documentation