Previous Topic: *MOVE ARRAY Built-in Function

Next Topic: *MOVE ARRAY Examples

*MOVE ARRAY Parameters

The *MOVE ARRAY built-in function uses the following parameters.

Note: The first three parameters define the target field, and the last three parameters define the source field:

*Result

The target field or the special value *ALL

*Array

The array in which the target field exists (if it is an array subfield)

*Array index

The index number which specifies the element of the array in which the target field exists (if it is an array subfield)

*Factor 2

The source field or the special value *ALL

*Array

The array in which the source field exists (if it is an array subfield)

*Array index

The index number that specifies the element of the array where the source field exists (if it is an array subfield)

Within the Action Diagram, the syntax of each group of three fields is as follows (when *Array and *Array index are specified):

array-context.array(array-index-context.array-index).array-subfield

Unlike most function calls, some of the parameters, and their contexts, to the *MOVE ARRAY built-in function can be blank, as shown in the following examples.