HP 3000 Manuals

<EQUAL> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

<EQUAL> 

Syntax 

<EQUAL {val1} {val2} >

where:

val1                  numeric value in the range -32768 to 32767
val2                  numeric value in the range -32768 to 32767

Description 

<EQUAL> returns 1 (TRUE) if val1 and val2 are equal, 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:  <GREATER>, <LESS>.

Example 

     &FORWARD integral <EQUAL <TERMNO> 25>

This moves forward to the label integral if the terminal is an HP2392A.



MPE/iX 5.0 Documentation