Arithmetic Expressions And Operators - Compaq AA-Q88CE-TE System Manager's Manual

Rtr
Table of Contents

Advertisement

Creating Monitor Pictures
A.3 Arithmetic Expressions and Operators
Table A–3 Arithmetic Operators in Display Commands
Characters
-
+
*
/
&
|
<=
>=
!=
<>
<
>
=
Example A–2 shows how these operators are used.
Example A–2 Arithmetic Operators Examples
RTR> DISPLAY NUMERIC RTR_SOME_DATA_ITEM+2
RTR> MONITOR
RTR> DISPLAY NUMERIC RTR_SOME_DATA_ITEM
_RTR> /SELECT="RTR_SOME_OTHER_DATA_ITEM>42"
RTR> MONITOR
RTR> DISPLAY NUMERIC RTR_SOME_DATA_ITEM
_RTR> /SELECT="RTR_SOME_OTHER_DATA_ITEM>42" -
_RTR> /BOLD="RTR_SOME_OTHER_DATA_ITEM>84" -
_RTR> /UNDERLINE="RTR_SOME_OTHER_DATA_ITEM>=1952"
RTR> MONITOR
RTR> DISPLAY SYMBOLIC RTR_SOME_DATA_ITEM "zero","one" -
_RTR> "two","three","four,"five","six"/BLINK
Two is added to the value of RTR_SOME_DATA_ITEM before displaying it.
1
RTR_SOME_DATA ITEM is only displayed if RTR_SOME_OTHER_DATA_
2
ITEM is greater than 42.
Same as the one above, but displayed in bold if RTR_SOME_OTHER_DATA_
3
ITEM is greater than 84, and underlined if its greater than 1952.
The value of RTR_SOME_DATA_ITEM is displayed in text form if it is less
4
than six, otherwise it is displayed as a numeric.
A–4 Creating Monitor Pictures
Meaning
Minus
Plus
Multiply
Divide
Logical AND
Logical OR
Less than or equal
Greater than or equal
Not equal
Not equal
Less than
Greater than
Equal
1
2
3
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Reliable transaction router, version 3.2

Table of Contents