RosettaCodeData/Task/Deepcopy/Phix/deepcopy-1.phix

7 lines
80 B
Plaintext

object a, b
a = {1,{2,3},"four",{5.6,7,{8.9}}}
b = a
b[3] = 4
?a
?b