Suppose I declare an array A(1000) as String but use only 200 of it. Will the memory and other resources be allocated for the whole array of 1000 (right when the Dim statement is called) or is it allocated one at a time for each array item when you first use it?