Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sort mulit-dimensional array
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00788418
Message ID:
00788845
Vues:
14
This message has been marked as the solution to the initial question of the thread.
This might be what you're looking for:

http://www.freevbcode.com/ShowCode.Asp?ID=2530

>Hi,
>
>I'm looking for a procedure that can sort a multi-dimensional array. For example I have an array that looks like the following
>
>
dim aFoo(0 to 1, 0 to 2)
>
>aFoo(0, 0) = "A"
>aFoo(1, 0) = True
>aFoo(0, 1) = "C"
>aFoo(1, 1) = False
>aFoo(0, 2) = "B"
>aFoo(1, 2) = True
>
>I would like to sort on all values in aFoo(0). After sorting the array would look like
>
>
aFoo(0, 0) = "A"
>aFoo(1, 0) = True
>aFoo(0, 1) = "B"
>aFoo(1, 1) = True
>aFoo(0, 2) = "C"
>aFoo(1, 2) = False
>
>Does anyone know where I could find such a beast?
>
>Thanks.
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform