The X2C function returns a sequence of character values which corresponds to the given sequence of hexadecimal digits. The values that are returned may be unprintable. When displayed on a console some character values may have surprising effects.
|result = X2C( hexadecimalString )|
charlie = X2C( 'C' ) -- the character '0C'x
charlie3 = X2C( 'C3' ) -- the character 'C3'x
asciiSpace = X2C( '20' ) -- the character '20'x, which is an Ascii space
ebcdicSpace = X2C( '40' ) -- the character '40'x, which is an Ebcdic space
spy = X2C( '007' ) -- the characters '0007'x
tootoobad = X2C( '2 2BAD' ) -- the characters '02 2B AD'x