Create an array of structures

serge

Member
Licensed User
Hi,

I've created an array of structures as below:

Dim Type(X, Y, Z) myType(20, 20)

But since i'll use this type for several arrays i'm trying to create the structure and then create an array of this type, for instance:

Dim Type(X, Y, Z) myType

Dim arrOfMyTipe(20, 20) as myType


But i'm receiving the error 'Index was out of range'

How could I do it?

Thanks.
 
Top