&AS-HEX

Holds the contents of a variable--a hexadecimal character text string that represents the input argument. This rule accepts both numeric and text type arguments.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

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.

Syntax:

&AS-HEX (&variablename)

Alias:

&as-hex (&variablename)     &As-Hex (&variablename)
&ashex (&variablename)      &AsHex (&variablename)
&ASHEX (&variablename)

Example:

&AS-HEX (1)           = "1"
&AS-HEX (2)           = "2"
&AS-HEX (-1)          = "FFFFFFFF"
&AS-HEX (1024)        = "400"
&AS-HEX ("1")         = "31"
&AS-HEX ("ABCDEFG")   = "41424344454647"