HEX
The HEX function formats an integer value as a hexadecimal string. The string returned contains just the hexadecimal representation of the integer with no prefix added.
Syntax
HEX( INT value )
Parameters
- value
- The integer value to format.
Return value
A STRING containing the integer value formatted into hexadecimal. Any alphabetic characters (A - F) are returned in upper case.
Example
INT value := 117; PRINT("Value = 0x", HEX(value), "\n");
The output will be:
Value = 0x75
XJTAG v4.1.100