<VAREQUAL> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
<VAREQUAL>
Syntax
<VAREQUAL {varname1} {varname2} >
where:
varname1 unquoted string
varname2 unquoted string
Description
<VAREQUAL> returns 1 (TRUE) if the contents of the variables varname1
and varname2 are equal, otherwise it returns 0 (FALSE). If the variable
contents are strings (quoted, unquoted or parenthetic), then their case
is significant. Use <UPSHIFT> if you want the case to be ignored. The
variable names should not be enclosed in a <VAR> statement. <VAREQUAL>
combines the functions of <EQUAL> and <STREQUAL>.
See also: <EQUAL>, <STREQUAL>.
Example
&BACK same <VAREQUAL reply stored>
If what is contained in reply is the same as what is contained in stored,
a move backwards to the label same is made.
MPE/iX 5.0 Documentation