HP 3000 Manuals

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


HP DeskManager Customization

<PARMTYPE> 

Syntax 

<PARMTYPE {index} [varname] >

where:

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

Description 

<PARMTYPE> returns a number representing the type of parameter in the
position of the script command line, specified by index.  The index 
parameter does not represent a character count.  The varname parameter
represents an unquoted string variable and if present, <PARMTYPE> will
return a number representing the type of the parameter the position of
the variable specified by index.  Although varname is a variable, it
should not be enclosed in a <VAR> sequence.  The possible values returned
from <PARMTYPE> are:

0       Not present
1       Unquoted parameter
2       Quoted parameter
3       Bracketed parameter
4       Number

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

Example 

     &BACK badparm <NOT <EQUAL <PARMTYPE 1> 2>>

This jumps back to the label badparm if the first parameter on the script
command line is not enclosed in quotes.



MPE/iX 5.0 Documentation