Is following VBA structure correct?

Question: Is following VBA structure correct?   "Dim aStroke() As Variant" , aStroke(i) ???

.....

Dim aStroke() As Variant

Sub main()

For i = 1 To 15

.....

aStroke(i) = XXX

....

Next i

End Sub

Thanks!

SolidworksApi macros