|
My own preference is to use an externally defined data structure for the parm, and have just one parm. Then, missing data is no problem (as long as you initialize numeric fields).
James H H Lampert wrote:
I'm not entirely sure whether I was clear with the initial question.What I meant was optional parameters to the program itself. Not to a prototyped procedure call within it.Certainly an easy enough thing to do with MI or C. But I don't recall whether or not it's doable in RPG.I've already figured out another way of doing what's needed, and I'm going to run an experiment to see what happens if you call a program with fewer parameters than specified, but I'm still curious. Perhaps morbidly so.-- JHHL
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.