|
Hi Mike - >I am trying to figure out how to reduce the amount of code this new program >I am writing will have, or at least spread the code across a couple programs >for easier maintainability. Can I pass one or more arrays between two >programs? I need to be able to fill some arrays with data from the database >and then process that data. If I can do this how do I do it? You pass arrays just like you would pass anything else. If it's a CALL or CALLB, put the array name on the parm statement. If it's a CALLP, be sure to use the DIM in the prototype. Like anything else you pass, make sure that the definitions match between the caller and the callee. Ken http://www.ke9nr.org/ Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
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.