ROPE Language Reference - "isxdigit"

"isxdigit" pops a string off the top of the stack and checks whether every character it contains is a hexadecimal digit ("0" to "9", "A" to "F" or "a" to "f"). If so: 1 (true) is pushed back onto the stack, otherwise 0 is pushed back.

As a special case: if the string is empty, the return is 0.

Example:

 "Hello" isxdigit println        # -- prints: 0
 "1234" isxdigit println         # -- prints: 1
 "COF90" isxdigit println        # -- prints: 0
 isxdigit( "981ED" ) println     # -- prints: 1
 isxdigit( "123" "DEF" ) println # -- error! too many arguments
 239 isxdigit println            # -- error! not a string

See Also

isalnum, isalpha, isascii, iscntrl, isdigit, iseoln, isgraph, islower, isprint, ispunct, isspace, isupper