S serge Member Licensed User Jun 21, 2008 #1 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.
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 B4X founder Staff member Licensed User Longtime User Jun 21, 2008 #2 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.
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.