HP 3000 Manuals

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


HP DeskManager Customization

<STREQUAL> 

Syntax 

<STREQUAL {string1} {string2} >

where:

string1               quoted or unquoted string
string2               quoted or unquoted string

Description 

Returns 1 (TRUE) if  string1 is equal to string2.  The case of the
contents of string1 and string2 is significant so you may want to use the
<UPSHIFT> function before comparing strings.

See also:  <VAREQUAL>, <UPSHIFT>.

Example 

     &BACK empty <STREQUAL <MAKEQUOTED <VAR ip>> " ">

This puts quotation marks around the contents of the variable ip.  If
this results in a null string, a move backwards to the label empty is
made.



MPE/iX 5.0 Documentation