If you link… | To… | Then… |
A scalar variable | An array variable that is empty (the variable does not have a defined length) | The link defines the length of the array variable; that is, it contains one element and has length of one. The first (and only) element in the array is assigned the value of the scalar variable. |
If you link… | To… | Then… |
A scalar variable | An array variable with a defined length | The length of the array is preserved and each element of the array is assigned the value of the scalar variable. |
If you link… | To… | Then… |
An array variable | A scalar variable | The scalar variable is assigned the first element in the array. |
If you link… | To… | Then… |
An array variable | An array variable that does not have a defined length | The link defines the length of the target array variable; that is, it will be the same length as the source array variable. The elements in the target array variable are assigned the values of the corresponding elements in the source array variable. |
If you link… | To… | Then… |
An array variable | An array variable that has a defined length | The length of the source array variable must equal the length of the target array variable. If the lengths do not match, the link will not occur. If the lengths are equal, the elements in the target array variable are assigned the values of the corresponding elements in the source array variable. |
No link occurs. |
If you link… | To… |
Where the value of DocumentList1 is... | Then the value of StringList1 is… |