AliasAn Example
An alias of an overloaded subprogram or literal requires a signature to determine the correct value to return
TYPE mvl IS ('U', '0', '1', 'Z');
TYPE trinary IS ('0', '1', 'Z');
ALIAS mvl0 IS '0' [RETURN mvl];
ALIAS tri0 IS '0' [RETURN trinary];
PROCEDURE preset_clear(SIGNAL drv: mvl_vector; pc_value: INTEGER);
PROCEDURE preset_clear(SIGNAL drv: BIT_VECTOR;
ALIAS pcmvl IS preset_clear(mvl_vector, INTEGER);
ALIAS pcbit IS preset_clear(BIT_VECTOR, INTEGER);
Notes:
A signature is required for an alias of a subprogram or an enumeration literal. A signature is also used to disambiguate overloaded subprograms and overloaded enumeration literals in which the signature indicates the parameter types and result type. A set of outer brackets “[“ and “]” is used to identify a signature.