Note: In this context, literals also refer to compilation variables, which means that you can use compilation variables in constant
conditional expressions.
Within the DEFINE and EVALUATE directives, you can specify a compile-time arithmetic expression. Also, you can include compile-time
arithmetic expressions in and as part of a constant conditional expression, such which can form part of the IF directive or
WHEN phrase of the EVALUATE directive.
A compile-time arithmetic expression follows the usual arithmetic expression rules, with the following exceptions:
- The exponentiation operator is not permitted.
- All operands must be integer numeric literals or arithmetic expressions in which all operands are integer numeric literals.
- The expression must be constructed in such a way that a division by zero does not occur.