isdigit

Tests the next character in the input stream to see if it is a digit.

Syntax

isdigit

Comments

isdigit causes a failure to occur if the next non-space character in the data file is not a digit.

After this operation, the file continues to be positioned over the character in question; that is, the pointer does not advance.

isdigit can only be used in the header block of a template.

Example

if { isdigit } then 
{
     // act appropriately if it is a digit
} else
{
     // act appropriately if it is not a digit
}