An expression is a compact notation for a combination of operations that go together to form a result.
It is convenient to include single variables, values, function calls and single operations as types of expressions. This simplifies defintions and descriptions. The reason is that all results in values or variables.
Expressions can be of the following types:
Parenthesis can be used to around a subexpression to ensure that this subexpression is evaluated as a whole before any further evaluation.
Parenthesis can also be used for increased readability.
Expressions of different types can be mixed together in a single expression. To nest an expression of one type in an expression of another type, the included expression must be enclosed in parenthesis.
If a function is called in an expression then it is illegal to change the value of the input parameter. The reason is it creates a dependency on the evaluation process of the expression. Such dependencies are not allowed in the Progsbase system.
T-Tables and T-Forms are useful for understanding expressions.
For more information about T-Tables and T-Forms, see T-Tables.
We would be more than happy to help you. Our opening hours are 9–15 (CET).
📞 (+47) 93 68 22 77
Nils Bays vei 50, 0876 Oslo, Norway