Definition
You define a type constant in the component type with a value. It is important to notice, that you set the value for the type, that is to say, that you can’t change outside of the type. In addition, it is not visible to instances of the type.
Type constants can have two forms:
1 – only accessible from within the defining type = TRUE – meaning that descendants can’t use it in methods
2- only accessible from within the defining type = FALSE – meaning that descendants can use it in methods
Example
A process engineer defines the type constants myscreensize=30[length] and maxtemperature=55[AbsoluteTemperature] which is used in various methods within the component type.
See also: instance constant
« Back to Glossary Index