× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: variable parameters
  • From: "Eric N. Wilson" <doulos1@xxxxxxxx>
  • Date: Sun, 25 Jul 1999 01:06:51 -0700

The difference is that you have to know the number and type of parameters
(maximums) for your technique but for the C ... paramater there is no
practical limit. I can provide you with and illustration if that would prove
helpful.

______________________________________________
Eric N. Wilson
President
Doulos Software & Computer Services
2913 N Alder St
Tacoma WA 98407


----- Original Message -----
From: <boothm@ibm.net>
To: <RPG400-L@midrange.com>
Sent: Saturday, July 24, 1999 3:42 PM
Subject: Re: variable parameters


> 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 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          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.