Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_alldigit() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_ALLDIGIT()

 DESCRIPTION

 C_ALLDIGIT() checks a character string to determine if it contains
 only numeric characters (0-9).  The numeric characters checked are
 ASCII 48 through 57.

 SYNTAX

 C_ALLDIGIT(string)

 PARAMETERS

 string (C) is the character string to check.

 RETURNS

 C_ALLDIGIT() returns true (.T.) if all characters in the string are
 numeric, otherwise false (.F.).

 EXAMPLES

 ? c_alldigit("123456")  --> .T.
 ? c_alldigit("12345a")  --> .F.    && Contains character "a"
 ? c_alldigit("123456 ") --> .F.    && Contains a space
 ? c_alldigit("123456.") --> .F.    && Contains a period


See Also: C_ALLALPHA() C_ALLXALPH() C_ALLFLOAT() C_NOSPACE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson