<GREATER> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
<GREATER>
Syntax
<GREATER {var1} {var2} >
where:
var1 numeric value in the range -32768 to 32767
var2 numeric value in the range -32768 to 32767
Description
<GREATER> returns 1 (TRUE) if var1 is greater than var2, otherwise it
returns 0 (FALSE). Values outside the accepted range can be stored in
variables but they will be treated as unquoted strings and are invalid
for use in arithmetic expressions.
See also: <EQUAL>, <LESS>.
Example
&FORWARD action <GREATER <VAR num> 0>
This moves forward to the label action if the contents of the variable
num are greater than 0.
MPE/iX 5.0 Documentation