Expressions [ System Debug Reference Manual ] MPE/iX 5.0 Documentation
System Debug Reference Manual
Expressions
Expressions are formulas for computing new values from a collection of
operators and their operands. Operator precedence, in combination with
the use of parentheses, determines the order of expression evaluation.
When two or more operators of the same precedence occur at the same level
of evaluation, they are evaluated from left to right.
Expression operands may be literals, variables, functions, macros, and
symbolic procedure names, each of which denotes a value of some type.
Examples of valid expressions are:
$12 Simple numeric literal
pc + 4 Predefined variable
FOPEN + 12 Symbolic procedure name
[dst 2.104] Indirection - contents of DST 2.104
(count < 5) and (q>200) Boolean expression with relational
operators
strup('hello') + "MOM" Standard function result
MPE/iX 5.0 Documentation