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.
 

Erel

Administrator
Staff member
Licensed User
This is currently not possible.
It will be implemented in a future version.

For now you will need to include the "Type(X,Y,Z)" in each declaration.
 
Top