Expressions [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Reference Manual
Expressions
Expressions are calculations inside parentheses. The Calculation
Language lets you use expressions anywhere a single argument can be
specified.
Example
In the calculation below, two arguments are used, the item PRICE and the
constant 10. The result will be the value of PRICE multiplied by 10:
PRICE * 10
You could substitute an expression for the constant, as follows:
PRICE * (1 + 9)
This, of course, produces the same result. You could also substitute a
calculated item or function that returns the number 10, for the
expression and you would obtain the same result. Full Syntax Diagrams
are supplied the "Syntax Diagrams" section in this chapter.
Related Sections
* Calculation Language
* Constants
* Functions
* Syntax
MPE/iX 5.0 Documentation