[Gambas-user] Sort multidimensional array?

novae_lithic scribe at ...3643...
Tue Feb 7 20:28:51 CET 2017


Thank you very much, Tobi, for the insights, and the link to the "GridView –
Sortierung der Daten"

Based on that I tried to implement the following, to test the concept. But
the values for the rows (B) are the same in all cases (always 0 ...) as if
the variable "i" wasn't incrementing in the loop (but it is).

What am I missing...where have I gone wrong?

/  Dim A As New Variant[]
  Dim B As New Variant[]
  Dim i, j As Integer
  
  For i = 0 To 9
    For j = 0 To 19
      B.Add((ij))
    Next
    A.Add(B)
  Next /



--
View this message in context: http://gambas.8142.n7.nabble.com/Sort-multidimensional-array-tp58403p58416.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list