Choose Language Hide Translation Bar
Highlighted

[Solved] Copying associative arrays

This code works in JMP 7 but not JMP 9
];
x["one"] = {1,2,3,4,5};
x["two"]={"one","two","three"};
y=x;
y["three"]={4,5,6};
!>
in JMP 9 y will act as if it is read only and y["three"] will not exist. Why is this the case and how do I fix it?

Message was edited by: Justin
1 REPLY 1
Highlighted

Re: Copying associative arrays

Solved my own problem. In my case y was really called project and it must be some kind of reserved work in JMP 9. Calling it anything else makes it work
Article Labels

    There are no labels assigned to this post.