• Subject: Re: variable parameters
  • From: boothm@xxxxxxx
  • Date: Sat, 24 Jul 1999 18:42:48 -0400

What would be the difference?  PARMS# in this example provides the number
of parameters supplied by the calling program.

In <004201bed60a$3b7cbc40$2fee0018@tcma1.wa.home.com>, on 07/24/99 
   at 12:25 PM, "Eric N. Wilson" <doulos1@home.com> said:

>Perhaps this gentleman is looking for the C type capabilty of having
>parameters like the function printf(char *, ...); the elipses in C means
>that any number of paramters may follow 0 to N. If so then RPG currently
>does not support this (although I wish it would).

>
>> Here is an example I use for testing stuff.  The number of parms is in
>> field PARMS#.  
>>
>>      DPARMS#                  37     39S 0
>>

-- 
-----------------------------------------------------------
boothm@ibm.net
Booth Martin
-----------------------------------------------------------

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].