|
Assuming it's RPG IV, you can use the %PARMS function to test how many arguments have come in. i.e. If %PARMS > 2 etc... JPW The bitterness of poor quality remains long after low pricing is forgotten! Cautillo, Leon M. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James H H Lampert Sent: Thursday, 16 March 2006 11:31 To: rpg400-l@xxxxxxxxxxxx Subject: Quick question (and I think it's come up before) Fellow geeks: Is there a way to have a couple of optional parameters in an ILE RPG program? -- 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.