Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Sort Challenge...
Message
De
14/05/1999 14:11:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/05/1999 14:02:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00218459
Message ID:
00219143
Vues:
25
>absolute minimum. So simply put, creating an additional column, filling it with with the necessary values, and calling ASORT() is always going to be more efficient, than writing a sort routine yourself. Note that I haven't even addressed the issue of swapping the array elements, which will add additional overhead.
>>
>>If you want one more reason to go with ASORT() consider that you're calling a native function against your tokenized pcode.
>>
>>Regards,
>
>Yep... did it that way... readin the asort docs, it seems to say that it will do what I needed, but it didn't. Of course, if I did create a UDF I would use asort to do all the real work.
>
>Thanks,
>BOb
Hi Bob,
Did this one solved ? Few months ago I hit the same situation and created a series of functions. On the way it "transposes" the array so adel() for columns works as I wish (like column delete in table). If not solved I could find the routine.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform