MOVE - RECORD to RECORD
The MOVE RECORD to RECORD instruction allows transfer of the values for each member in the source RECORD to the corresponding member of the destination RECORD with a single instruction. It uses one of the following formats:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
source
Required. A RECORD variable or RECORD pointer that serves as the source operand.
sep
Required. A comma or one of the following prepositions: BY, TO, OF, FROM, USING, WITH, IN, or INTO.
dest
Required. A RECORD variable or RECORD pointer that serves as the destination operand.
Flags Affected: none
Note the following:
The {source} and {dest} RECORDs must be identical.
When moving RECORDs containing Pointers, the pointers in the receiving record will point to the same data as the source record after the move operation.
See Also: Example Code, MOVE
![]() |