Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array Sort Challenge...
Message
From
14/05/1999 14:11:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/05/1999 14:02:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00218459
Message ID:
00219143
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform