HP 3000 Manuals

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


HP DeskManager Customization

<NUMBERIN> 

Syntax 

<NUMBERIN [val1] [range] >

where:

val1                  numeric value in the range -32768 to 32767
range                 unquoted string

Description 

<NUMBERIN> returns 1 (TRUE) if val1 appears in the supplied range of
numbers.  The range parameter must be an unquoted string of one or more
numbers separated by comma (,) or slash (/) characters.  <NUMBERIN>
returns 0 (FALSE) if val1 and range are omitted or null.

See also:  <TOKENIN>.

Example 

     <NUMBERIN <usernumber> 23,69,88,42>

This returns 1 (TRUE) if usernumber is either 23, 69, 88 or 42.

     <NUMBERIN <tray> 1/4,6>

This returns 1 (TRUE) if the number of the tray the user is in is 1, 2,
3, 4 or 6.



MPE/iX 5.0 Documentation