Depending on
Option Base[
^] statement, lower bound of arrays start from
0
(zero) or
1
(one). If you do not use this statement, array must starts from
0
. I'd suggest to read this article
Arrays in VB[
^] which might help you to understand how to declare and initilize arrays.
ReDim Preserve iStruct.data(12)
For i = 0 to 11
iStruct.data(i) = i+1
Next