HEXIMAGE returns a character string that is the hexadecimal representation of the storage at a specified location.
HEXIMAGE(p,n) returns a character string that is the hexadecimal representation of n bytes of storage at location p. Its length is 2 * n.
HEXIMAGE(p,n,z) returns a character string that is the hexadecimal representation of n bytes of storage at location p with character z inserted between every set of eight characters in the output string. Its length is (2 * n) + ((n - 1)/4).
If the number of bytes to be converted to hex is not known at compile time, then no more than 32767 bytes will be converted.
For examples of the HEXIMAGE built-in function, see HEX.