Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting multi-dimensional arrays
Message
De
19/03/2002 06:25:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
18/03/2002 20:00:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00634318
Message ID:
00634391
Vues:
17
>Hi,
>
>I am having a hard time understanding the help file for asort() in vfp 7. I have a multidimentional array and I want to sort it by column1+column2. Can anybody point me in the right direction?
>
>Thanks,
>Chris

Perhaps you can sort first on Column2, then on Column1. This may - or may not - maintain the sort order on the second column, where applicable (that is, where Column1 is the same). Try it.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform