I have two for-loops, one inside the other. I want to put a 1D array into a row in a given page in a 3-D array each time the for loop inside iterates.
The for loop outside defines the row on the page.
I can't get it to work, if you see my attached code it only updates the last page in the 3D array, the rest stays is not changed from its initialized form.

Any tips?