I'm trying to wrap my head around jagged arrays, or array of arrays, and I am having difficulty locating more advanced resources. I've also seen a lot of buzz about collections being far superior than arrays, especially for non-rectangular data sets.
My original thought was to create four static arrays and one 4-dimensional array, but I couldn't get them to even work with a dummy data set.
Real data set: U.S. Air Force hierarchy.
Flights are in Squadrons
Squadrons are in Groups
Groups are in Wings
4 sets (Wings, Groups, Squadrons, Flights)
If there were 3 items in every set (let's say [A, B, C]) how would the end array or collection look and function? Which one would be optimal? How do you know the answer?
(This sounds like a test question, but I'm just trying to learn. Plus, who takes VBA classes nowadays anyway?)
Posted from mobile app.