|
Use an array datastructure..... When defining subfields for the array DS, each subfield is treated as a seperate array, even though they are actually part of the same dataset. Sorting on any of these subfield arrays will actually sort the base DS array, keeping all your entries in sync. -----Original Message----- From: rpg400-l-bounces+edelong=sallybeauty.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+edelong=sallybeauty.com@xxxxxxxxxxxx]On Behalf Of Jon Allen Sent: Wednesday, November 08, 2006 11:53 AM To: RPG programming on the AS400 / iSeries Subject: Sorting multiple arrays I have 3 arrays that need to be sorted but stay in sync with each other. How to? Thanks! Important Confidentiality Notice: This email message, including all attachments is for the exclusive use by the person(s) to whom it is addressed, and may contain information that is confidential or privileged. Any unauthorized review, use, disclosure or distribution is prohibited under applicable law. If you have received this email in error, please notify me immediately by reply email and delete this message and any attachments. Thank you.
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.