View Single Post
  #1 (permalink)  
Old 06-21-2008, 08:52 PM
serge serge is offline
Newbie
 
Join Date: Jun 2008
Posts: 5
Default Create an array of structures

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.
Reply With Quote