MOVE - VARLIST to VARLIST


 

The MOVE VARLIST to VARLIST instruction allows transfer of the values for each member in the source VARLIST to the corresponding member of the destination VARLIST with a single instruction. It uses one of the following formats:

 

 

[label]

MOVE

{source}{sep}{dest}

 

Where:

label

Optional. A Program Execution Label.

source

Required. A VARLIST variable 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 VARLIST variable that serves as the destination operand.

Flags Affected: EOS, LESS, OVER, ZERO

Note the following:

  1. The {source} and {dest} VARLISTs must be identical.

  2. Each VARLIST variable in the {source} is moved to the corresponding variable in the {dest} according to the rules of a MOVE for that variable type.

 

 

See Also: Example Code, MOVE

 



PL/B Language Reference MOVE - RECORD to RECORD MOVE - OBJECT to OBJECT