You Can't Assign one Array to Another Array

From Xojo Documentation

Error message

You tried to assign one array to another array. To create an array that has the same elements of another array, you need to assign each value of one array to the same index value of the other array. Use a For statement and loop through all the values of the array index.

Sample Code

Dim a(5) As Integer
Dim b(5) As Integer
a = b

See Also

Dim statement.