angelpro
Programmer
- Dec 20, 2011
- 6
I have the QnIJPositions structure created by me and an one dimension array QnNo(8) type of QnIJPositions.
Structure QnIJPositions
Dim QnRowPos As Integer
Dim QnColPos As Integer
End Structure
Dim QnNo(8) As QnIJPositions
And now I need another array of 92 elements that each element is a QnNo(8) array. How can I do that? Must I use a 3 dimension array? And how? I have never used in the past 3 dimension arrays.
I also thought another solution but I don't know if it's right.
I thought to create another data structure too like that
Stucture QnCombinations
Dim Qns () as QnIJPositions
End Structure
Dim QnSolutions(92) as QnCombinations
The problem here is that I can't declare the Qns array as static Dim Qns (8) as QnIJPositions but as dynamic and I am not sure if it will help me to the rest code and how will it affect. Any help and opinion will be much appreciated. Thank you in advanced.
Structure QnIJPositions
Dim QnRowPos As Integer
Dim QnColPos As Integer
End Structure
Dim QnNo(8) As QnIJPositions
And now I need another array of 92 elements that each element is a QnNo(8) array. How can I do that? Must I use a 3 dimension array? And how? I have never used in the past 3 dimension arrays.
I also thought another solution but I don't know if it's right.
I thought to create another data structure too like that
Stucture QnCombinations
Dim Qns () as QnIJPositions
End Structure
Dim QnSolutions(92) as QnCombinations
The problem here is that I can't declare the Qns array as static Dim Qns (8) as QnIJPositions but as dynamic and I am not sure if it will help me to the rest code and how will it affect. Any help and opinion will be much appreciated. Thank you in advanced.