PUT-INT64 statement
Stores the signed 64-bit value of an INT64 or INTEGER expression at the specified memory location as an INT64 data type.
Syntax
destination
A variable of type RAW or MEMPTR. Ifdestination
is the Unknown value (?
), it remains the Unknown value (?
). Ifdestination
is a MEMPTR and its region in not allocated (by a SET-SIZE statement or by a Windows dynamic link library (DLL) or UNIX shared library routine), the AVM generates a run-time error.position
An integer value greater than 0 that indicates the byte position where the AVM storesexpression
. Ifposition
is less than 1, the AVM generates a run-time error.For a RAWdestination
, ifposition
is greater than the length ofdestination
, the AVM increases the length ofdestination
toposition
plus the remaining bytes needed to storeexpression
. The gap between the originaldestination
length andposition
is padded with null bytes.For a MEMPTRdestination
, ifposition
is greater than the length ofdestination
or does not leave sufficient room to storeexpression
, the AVM generates a run-time error.expression
ExampleSee the example in the GET-INT64 function section.
See also
OpenEdge Release 10.2B
|