Look into my Container Classes for an alternative - my Vector Container in specific emulates an Array of Handles to objects using a bank. It keeps track of the number of elements in the "array" and can preallocate space for more separately. Maybe you don't have to reinvent the wheel! ;)
How to get an array size
Blitz3D Forums/Blitz3D Programming/How to get an array sizeThe 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.