<ALLDIGITS> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
<ALLDIGITS>
Syntax
<ALLDIGITS [string]
where:
string unquoted string
Description
<ALLDIGITS> returns 1 (TRUE) if string contains only digits (which
includes any space separators), otherwise it returns 0 (FALSE). It will
return a 1 for any length of string, providing that it is a positive
number. This command can be used for example, to check that someone has
replied to a prompt with a string of numeric characters. Numbers
enclosed in quotes are not considered to be numeric.
See also <NUMERIC>.
Example
&FORWARD newtray <ALLDIGITS <VAR ip>>
This moves forward to the label newtray if the contents of the variable
ip are numeric.
MPE/iX 5.0 Documentation