Alright,
Today, ladies and gentlewomen, I’m trying to create a multidimensional array that will act as a sort of Archive.
I have 3 different values that are assigned to a single-dimensional array. This array, called currentarray, is very dynamic and changes often. But now I want to create a whole new array while saving the information from the first array, and then I want to be able to switch in between both arrays, loading them up, changing them, saving the information into the Archive array.
So basically, the Archive array must eventually look something like this:
archivearray = [[item1, item2, item3], [item1, item2, item3]]
Since I want to shorten the code as much as possible, I made it so that Item3 in the archivearray is the position of that group of items. In English, that means that the Archive array would be like this:
archivearray = [[item1, item2, 0], [item1, item2, 1]]
Still with me? Good. So my code right now is this:
archivearray[currentarray[2]] = currentarray
For some reason, this totally doesn’t work. Help? Sorry if I’m too confusing.