next up previous
Next: CHR_ISNAM - Return whether a string is a valid name
Up: Routine Descriptions
Previous: CHR_ISALM - Return whether a character is alphanumeric

CHR_ISDIG  -  Return whether a character is a digit

Description:
Determine whether the given character is a digit, i.e. 0 - 9.

Invocation:
RESULT = CHR_ISDIG( CVALUE )

Arguments:
CVALUE = CHARACTER (Given)
The character to be tested.

Returned Value:
CHR_ISDIG = LOGICAL
Returns .TRUE. if the given character is a digit, returns .FALSE. otherwise.



next up previous
Next: CHR_ISNAM - Return whether a string is a valid name
Up: Routine Descriptions
Previous: CHR_ISALM - Return whether a character is alphanumeric



CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk