|
Why not do both? Get a pointer to the user space and map the array, or multiple occurrence data structure to the user space--using the user space as the storage/memory for the array or DS. D MyArray S 10A Dim(1500) D BASED(pArray) C eval pArray = CrtUsrSpcPtr() -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx Sent: Tuesday, September 13, 2005 1:22 PM To: rpg400-l@xxxxxxxxxxxx Subject: Sorting a user space I am using a list api to fill a user space for a display program. Apparently they do not support any sorting. I suppose I could originally load into an array, then SORTA that, then load the subfile. Anything easier? Not that the above process is hard. Just don't want to overlook the obvious. Rob Berendt
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.