<NUMERIC> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
<NUMERIC>
Syntax
<NUMERIC [string] >
where:
string unquoted string
Description
<NUMERIC> returns 1 (TRUE) if string contains only digits otherwise 0
(FALSE). If string has a value outside the range -32768 and 32767, then a
0 will be returned. This command can be used to check that someone has
replied to a prompt with a number. Numbers enclosed in quotes are not
considered to be numeric.
See also: <ADD>, <MULTIPLY>, <SUBTRACT>, <ALLDIGITS>.
Example
&FORWARD newtray <NUMERIC <VAR ip>>
This moves forward to the label newtray if the contents of the variable
ip are numeric.
MPE/iX 5.0 Documentation