Document Templates : Data-types and Expressions : Expressions

Expressions

Parameters, variables and constants are used to build expressions, such as a + 5.

Expressions such as these may be used in assignment statements, in calls to predefined functions, and in Boolean expressions (comparisons). In addition, functions themselves may participate in expressions.

Expressions can be constructed for any of the data-types:

NUMERIC: for example, a*(b+3.2)
STRING: for example, ’DATA-ITEM DICTIONARY’
Boolean: for example, A > B
Statemate element: for example, stm_r_ac ( ’AA’ , st)
LIST: for example, a_list + b_list

In the following sections, we present a more detailed explanation of the expression types that you can construct.