Literals and Constants
Literals are values like 12, 6.1e4 or true. Every primitive type (boolean and arithmetic) can occur as a literal in an ESDL method. The data type of literals is implicit.
Constants are named values, such as g = 9.81. They are added to a component and declared in the same manner as variables. The Properties editor can be used to assign a value and flag an element as a constant.
| EXAMPLE |
|---|
|