Question: confused about storing arrays in variables

array.mw

if I assign an array to the variable name x via another named array (A) then if I change all of A, x remains unchanged. this is what I'd expect

however if I change just one element of A then x also changes

this is illustrated in the attached worksheet.

Why is this happening? And how can I stop x from changing if I change a single elment of A?

thanks

Please Wait...