OS/2 Procedures Language 2/REXX


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


C2X (Character to Hexadecimal)




 >>---C2X(string)------><

C2X converts a character string to its hexadecimal representation. The 
data to be converted can be of any length. The returned string contains 
twice as many bytes as the input string because it is in literal string 
notation. 
Here are some examples: 

C2X('0123'X)    ->    '0123'
C2X('ZD8')      ->    '5A4438'     /*   ASCII    */
  

Inf-HTML End Run - Successful