![]() ![]()  
         | 
      
GET-UNSIGNED-SHORT function
Returns the unsigned 16-bit value at the specified memory location as an INTEGER value.
Syntax
sourcepositionExamplesFor examples of how to use the GET-UNSIGNED-SHORT function, see the GET-BYTE function reference entry.
Notes
- This function supports byte-swapping only if
 sourceis a MEMPTR data type. The function will first examine the byte-order setting of the MEMPTR and then swap the bytes appropriately before interpreting them. The AVM does not swap the bytes in the MEMPTR’s memory, but does the byte-swap as it creates the return value.- For more information on using the MEMPTR and RAW data types, see OpenEdge Development: Programming Interfaces.
 See alsoLENGTH function, PUT-SHORT statement, RAW function, RAW statement, SET-SIZE statement
![]()  | 
OpenEdge Release 10.2B 
 | 
![]() ![]()  
         |