C2X Function -- Syntax and Examples

C2X(string)

c2x("REXX")

returns the value 52455858 (the ASCII values for the characters)

Ascii = c2x("z")

assigns the value "7A" to the variable Ascii

Next