<-- Previous || Up || Next -->

Is X Digit Function
Character Types Class

Public Function IsXDigit( _
    ByVal vCharCode As Integer _
    ) As Boolean

"Is Character Hexadecimal Digit"
Return True if the character with ASCII value vCharCode is a hexadecimal digit ("0".."9", "A".."F", "a".."f").
Return False otherwise.

Examples:
    IsXDigit(Asc("9")) = True
    IsXDigit(Asc("C")) = True
    IsXDigit(Asc("c")) = True
    IsXDigit(Asc("G")) = False
See also:
    IsDigit Function
    IsAlpha Function
    CharTypeHexadecimal Property
vCharCode: Character whose ASCII value is checked to determine if it belongs to the hexadecimal digit class.
Note: Function will generate a runtime error if vCharCode is not between 0 (zero) and 255 inclusive.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.