![]() ![]()
|
GET-BYTES function
Returns the specified number of bytes, from the specified location, into a RAW or MEMPTR variable.
Syntax
sourcepositionnumbytes
An integer value greater than 0 indicating how many bytes to return as a RAW value. Ifpositionplusnumbytesis greater than the size ofsource, the AVM returns the Unknown value (?).If the variable that accepts the returned data is a RAW variable andnumbytesis greater than its length but less than or equal to 32K, the AVM increases the size of the variable tonumbytes.If either the source location,source, or the variable that accepts the returned data is a RAW value, andnumbytesis greater than 32K, the AVM generates a run-time error.If the variable that accepts the returned data is a MEMPTR variable andnumbytesis greater than its length, the AVM generates a run-time error.See also
![]() |
OpenEdge Release 10.2B
|
![]() ![]()
|