× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Don,

You provide the procedure that qsort uses to compare elements in order to
sort the list.  The procedure you provide can use any element in doing the
comparison.

Scott Mildenberger

> -----Original Message-----
> From: Fisher, Don [mailto:Dfisher@roomstoreeast.com]
> Sent: Tuesday, November 12, 2002 12:04 PM
> To: 'rpg400-l@midrange.com'
> Subject: Sorting a Multi-occurrence data structure
>
>
> I would like to sort a multi-occurrence data structure
> containing, say, four
> fields, using the third field in the data structure.  After
> searching the
> archives and reading the example in the "Sorcerer's Guide",
> it appears that
> the QSORT routine needs the sort field to be the first in the
> data structure
> as there is no parameter for the starting position and length
> of the sort
> field.
>
> The other alternative involves the use of an API called
> QLGSORT, but I'm
> leery of that as I have not done any API programming before.
>
> Are there any other alternatives or does someone have an
> example of using
> QLGSORT?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.