hey, is it possible to declare an array with one dimension being a variable? Life say I want to save memory so i open a file as #0 and then

Dim i as integer

do while not EOF(0)
i = i + 1
loop

Can I use i in declaring an array? As in

Dim arrfoo(0 to 0, 0 to i) as string

Thanks for your help

Steve Gazzo