|     | 
PUT-BYTES statement
Copies a RAW or MEMPTR variable to the specified location in another RAW or MEMPTR variable.
Syntax
destinationposition
An integer value greater than 0 that indicates the byte position where you want to put the data. Ifpositionis less than 1, the AVM generates a run-time error.For a RAW variable, ifpositionis greater than the length ofdestination, the AVM increases the length ofdestinationtopositionplus the remaining bytes needed to storeexpression. The gap between the originaldestinationlength andpositionis padded with null bytes.For a MEMPTR variable, ifpositionis greater than the length ofdestinationor does not leave sufficient room to storeexpression, the AVM generates a run-time error. Ifdestinationis a RAW andpositionplus the length ofexpressionis greater than 32K, the AVM generates a run-time error.expressionSee alsoGET-BYTES function, LENGTH function, LENGTH statement, RAW function, RAW statement, SET-SIZE statement
|  | 
| OpenEdge Release 10.2B | 
|     |