×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) 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-2026 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.