|
>> Unfortunately, in the case of MODS, there's no other way to pass them from one procedure to another. So, if you MUST pass a MODS, that's how you have to do it. I have to disagree with this Scott. There is another way - in fact I was coding this very thing last night! You do need to use a pointer in the called procedure to match the incoming parm (which has to be defined as a single instance of the DS) with the actual mapping MODS in the called procedure but it works fine. AS long as you set the occurrence to 1 in the caller it all works fine and while not as completely intuitive as being able to just pass a parm declared as a MODS, the ability to use LIKEDS has significantly improved things. Jon Paris Partner400 www.Partner400.com www.RPGWorld.com
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.