Create an array of structures

Discussion in 'Questions (Windows Mobile)' started by serge, Jun 21, 2008.

  1. serge

    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.
     
  2. Erel

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice