It's not a matter of it being a "bad idea". It's a perfectly fine idea, if the indexing of the array matches your card numbers. With a 3D array the first index refers to the page, and the indexing starts at 0. You can't change this, and you can't skip index numbers. Thus, if you collect each 2D array as "pages", then "page0" would correspond to the first card's data, "page1" corresponds to the second card's data, and so on. The
index number may not correspond to your
card number. If they don't, then a 1D array of clusters may be of more benefit to you. Each element of this cluster refers to a card, and the 1D array of clusters is the array of cards. The cluster would consist of 2 elements: a numeric that refers to the card number, and a 2D array that corresponds to the data: