Try OpenEdge Now
skip to main content
ABL Reference
ABL Syntax Reference : GET-BYTE-ORDER function
 

GET-BYTE-ORDER function

Returns an INTEGER value indicating the byte order setting of a MEMPTR variable. This will be either the value provided by the last execution of SET-BYTE-ORDER with this MEMPTR variable, or HOST-BYTE-ORDER if SET-BYTE-ORDER has not been executed.

Syntax

GET-BYTE-ORDER( memptr )
memptr
An expression that returns a MEMPTR.

Note

GET-BYTE-ORDER never affects data currently in the MEMPTR. That is, it does not actually re-order the data.

See also

SET-BYTE-ORDER statement