ISDIGIT( ) Function

Example   See Also

Determines whether the leftmost character of the specified character expression is a digit (0 through 9).

Syntax

ISDIGIT(cExpression)

Returns

Logical

Arguments

cExpression

Specifies the character expression that ISDIGIT( ) tests. Any characters after the first character in cExpression are ignored.

Remarks

ISDIGIT( ) returns true (.T.) if the leftmost character of the specified character expression is a digit (0 through 9); otherwise, ISDIGIT( ) returns false (.F.).