
| This Uni-Basic program segment shows how to do sorting. It was developed for Colleague Release 13. In this example, OUT.LIST is the array being constructed in some kind of sort order while STRING.REC is one output record. This code will determine where to place STRING.REC in the OUT.LIST array so it remains sorted. One caveat though. I'm not sure if I ever got the sorting portion to work 100% of the time. The best (and probably easiest) way to handle sorting is to make a program call (PCPERFORM is the Uni-Basic command to use) out to the operating system and use its sort command. |
This page hosted by
Get your own Free Homepage