Use this rule for debugging programs. To test if a value is hexadecimal, use &IS-HEX; to convert the hexadecimal value, use the &HEX rules.
&AS-HEX (&variablename)
&as-hex (&variablename) &As-Hex (&variablename) &ashex (&variablename) &AsHex (&variablename) &ASHEX (&variablename)
&AS-HEX (1) = "1" &AS-HEX (2) = "2" &AS-HEX (-1) = "FFFFFFFF" &AS-HEX (1024) = "400" &AS-HEX ("1") = "31" &AS-HEX ("ABCDEFG") = "41424344454647"