Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GetIt Reference Guide - syntax: ch_hexfmbin(<binaryc> [,<binarylengthn> [,<positionn>]]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Syntax: CH_HEXFMBIN(<binaryC> [,<binarylengthN> [,<positionN>]])

Converts binary string to hex string

Returns hex string

Example

? CH_HEXFMBIN("EFG")
  454647

var = "ABCDEFGHIJ"
? CH_HEXFMBIN(var,3,5)
  454647

Notes

The number of hex digits returned is the number of binary bytes * 2.

If <binarylength> is specified, the specified number of binary bytes
will be converted starting at the specified position in the string.
If <position> is omitted, 1 is assumed.

No error is generated if you attempt to read beyond the end of the string.

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