JCL Help:CharHex@AnsiChar
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: CharHex Function
[+] JclAnsiStrings.pas Functions
Search in JCL Help
Search in all projects
Summary
Converts a hex digit character to its binary value.
Pascal
function CharHex(const C: Char): Byte;
function CharHex(const C: AnsiChar): Byte;
Parameters
Parameters | Description |
const C: Char | A hex digit to convert |
Return Value
The binary value of the hex digit or $ff if it was no hex digit.
Description
Converts a hex digit character to its binary value, ie $0 to $f. If the character is no hex digit then $ff is returned.
About
Unit
Donator
Azret Botash
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page