banks, types, and arrays

Blitz3D Forums/Blitz3D Beginners Area/banks, types, and arrays

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have some code that basically uses 3-4 arrays each about 10,000 units in length. I have about 50 objects of one type, all cubes. I basically cycle through each type object, doing what I need to, then clearing the arrays. I want to store the arrays for each object independently now, but could not figure out how to create arrays in type fields. Is there a way to do this? Is it better/easier to after each one store the array in a bank, then load it at the beginning? Is it faster just to use banks for the whole thing?

Just as a side note, all of the arrays are related, one being a binary heap and the others giving more information about the items in the binary heap.