PreviousNextIndex

HEX-ENCODE function

Converts a RAW value into a character string consisting of an even number of hexadecimal digits (0 through 9 and A through F).

Syntax

HEX-ENCODE( expression ) 

expression
Example

The following code fragment illustrates how to use the HEX-ENCODE function:

DEFINE VARIABLE MyUUID AS RAW       NO-UNDO. 
DEFINE VARIABLE vChar  AS CHARACTER NO-UNDO. 
ASSIGN 
  MyUUID = GENERATE-UUID 
  vChar  = HEX-ENCODE(MyUUID). 

See also

HEX-DECODE function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex