Internet Direct (Indy)
Home
PreviousUpNext
IsHexidecimal Function

Determines if the character is a valid hexadecimal digit.

Pascal
function IsHexidecimal(
    AChar: Char
): Boolean; overload;
Parameters 
Description 
AChar 
Character to examine for valid hexadecimal digit content. 

Boolean - True when the character is a valid hexadecimal digit.

IsHexidecimal is an overloaded boolean function used to determine if the character in AChar is a valid digit for representing a hexadecimal number. IsHexidecimal returns True when AChar contains one of the following characters: 

 

0 
1 
2 
3 
4 
5 
6 
7 
8 
9 
a 
b 
c 
d 
e 
f 
A 
B 
C 
D 
E 
F 
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.