|
Surely sorta over TXDATA will give you what you want ?? Else, define a smaller field overlaying TXDATA that is the length of both flds combined, then SORTA IMHO K /29/2001, you wrote: >Here is an array that I need sorted first by TXSEQ and then by TXLIN. How >would I go about doing that? > >D DS INZ > >D TXData 126 DIM(TXSize) > >D TXSEQ 4S 0 OVERLAY(TXData) Detail Line Number > >D TXLIN 4S 0 OVERLAY(TXData:5) Text Seq Number > >D TXTXT 100 OVERLAY(TXData:9) Text > >D TXFONT 5 OVERLAY(TXData:109) Font Id > >D TXINK 10 OVERLAY(TXData:114) Ink Color > >D TXPNT 3 OVERLAY(TXData:124) Point Size > >I am basically wondering if there is an opcode that will sort an array for >me. If not I suppose I will have to sort them myself. > >Any help is greatly appreciated, > >Aaron Bartell >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.