how to create an array with both members and number of members undefined

Shouldn't the end position for one item in queue be the start position for the next?