Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping an array sorted
Message
From
26/10/2000 14:46:45
 
 
To
26/10/2000 14:36:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00434680
Message ID:
00434804
Views:
23
>Depending exactly what you're doing, you could consider using a cursor rather than an array. You could then index it, and your sorting problems are over.
>
>Personally, I hardly ever use arrays, as cursors are more versatile and easier to work with.

A cursor to hold 6 numbers seems like overkill. I also don't see how it would help. I wasn't trying to sort the numbers, I was trying to reorder them. I'd have the same problem with a cursor.

Thanks,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform