Single-Element Functions : List of Functions : stm_r_xx_synonym

stm_r_xx_synonym
Retrieves the synonym of the specified element. The synonym is defined in the element’s form.
You can call this function without indicating the specific element type, as follows:

stm_r_synonym (id, status)

Function type
STRING
For elements
Syntax
stm_r_xx_synonym (xx_id, status)
Arguments
If no synonym is defined in the element’s form, status receives the value stm_missing_synonym.
Status Codes
Example
To write out the synonym of activity A1, use the following statements:

VARIABLE
ACTIVITY act_id;
INTEGER status;
.
.
.
act_id := stm_r_ac(’A1’, status);
WRITE (’\n Synonym:’, stm_r_ac_synonym
(act_id, status));
.
.
.