HP 3000 Manuals

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


HP DeskManager Customization

<PARMPRES> 

Syntax 

<PARMPRES {index} [varname] >

where:

index                 numeric value in the range 1 to 9
varname               unquoted string

Description 

<PARMPRES> returns 1 (TRUE) if a parameter exists in the position of the
script command line specified by index, otherwise it returns 0 (FALSE).
The index parameter does not represent a character count.  Although
varname is a variable, it should not be enclosed in a <VAR> sequence.

See also:  <PARM>, <PARMREM>, <PARMTYPE>.

Example 

     &FORWARD 2 <PARMPRES 1>

This causes a jump forward of two lines if there is a parameter in the
script command line.



MPE/iX 5.0 Documentation