Previous Topic

Next Topic

Book Contents

Book Index

%%$ISNUM

The %%$ISNUM function indicates whether a specified string is numeric. In order to be considered numeric, the specified string must contain only numeric characters from 0 through 9, because a numeric string cannot contain letters, blanks, or special characters.

Possible values returned by this function are

The format of the %%$ISNUM function is

%%$ISNUM string

In this format, string is the constant or variable that contains the string to evaluate.

Example 1

DO SET %%A = %%$ISNUM 1234

This returns a value of YES.

Example 2

DO SET %%A = %%$ISNUM 12PM

This returns a value of NO.

Parent Topic

Functions