|
>> .... but how does QSORT determine which occurrences are passed to the RPG procedure for comparison? Does it make any assumptions as to the position of the sort field? It really doesn't matter how it determines the occurrences - depends on which sort algorithm it uses. But it certainly doesn't make any assumptions about the key - it neither knows nor cares. It just shuffles memory around based on the high/low/equal feedback that your routine provides. Jon Paris Partner400
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.