OS/2 Procedures Language 2/REXX


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


X2C (Hexadecimal to Character)




 >>---X2C(hexstring)---------><

X2C converts hexstring (a string of hexadecimal characters) to character. 
hexstring can be of any length. You can optionally add blanks to hexstring 
(at byte boundaries only, not leading or trailing positions) to aid 
readability; they are ignored. 
If necessary, hexstring is padded with a leading 0 to make an even number 
of hexadecimal digits. 
Here are some examples: 

X2C('4865 6c6c 6f') ->  'Hello'     /*  ASCII   */
X2C('3732 73')      ->  '72s'       /*  ASCII   */
X2C('F')          ->    '0F'x
  

Inf-HTML End Run - Successful