Use of TYPE at the Programmable Macro Language Level
- Last UpdatedDec 20, 2021
- 1 minute read
The TYPE attribute returns the base-type, for example EQUI, for UDET. The attribute ACTTYPE returns the derived type, if one. for example a :PUMP. The FULLTYPE attribute returns the derived type such as EQUIPMENT or :PUMP. To get the Base full-type of an element, the attribute FULSYS should be used.
The table below summarizes the functionality:
|
Base type |
Derived type |
|
|
Full word, for example. EQUIPMENT |
FULSYS/TYPE |
FULL/TYPE |
|
Short word, for example. EQUl |
TYPE |
ACTTYP/E |
The attribute Query Q ATT (and the general attribute form) will include ACTTYPE as well as type for UDET elements. ACTTYPE will be omitted if the element is not a UDET.