The real solution to this problem is a linked list. But, SuperBasic (and Basic in general) does not support a linked list. I believe by definition DIMed arrays are not able to change after allocation.
One could ask for some memory (ALLOC or something like that) and handle the memory any way you want (you have to write the array routines). To expand you'd have to ask for more memory and have the linked list jump/link between the two areas. This is possible, but not so easy. But is someone writes the routine, we all could use it. Timothy Swenson _______________________________________________________________________ Internet Access, Shared & Dedicated Web Hosting. Colocation and Domain Name Registration at http://www.SharedPoint.com