|
Unless you specifically put the word "VALUE" in your prototype, you're passing by pointer. Before the "value" keyword existed in RPG, *all* parameters were passed by pointer. It was the only way to do it in (OPM) RPG/400 as well as ILE RPG/400 in V3R1. On Thu, 24 Apr 2003, Nick Leonessa wrote: > I wrote an RPG program to list members of a database file using API's. I > have the results of the API loading into an array. > > I would like to be able to pass the results of this program to any other > program that may need it. I know that passing information via pointers if > faster, but I'm not sure how to do this. >
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.