|
> -----Original Message-----
> From: Al Barsa, Jr. [SMTP:barsa2@ibm.net]
> Sent: Tuesday, November 10, 1998 10:40 AM
> To: MIDRANGE-L@midrange.com
> Subject: Re: RPG & recursive call
>
> At 03:46 PM 11/9/98 +1100, you wrote:
> >At first sorry for my poor english, I am located in French Polynesia
> ....
> >
> >Is it possible to do a recursive call in an RPG III program ? If I
> try to do
> >that by a simple CALL I have the message RPG8888.
> >
> Some languages (CL) support recursion, but RPG and COBOL do not. You
> can
> do a recursive call from a RPG program, but the call cannot be to
> another
> RPG program in the call stack.
>
[And Brad Said:] Al, would this be considered recursion? Just
wondering... A recursive call would call itself, which would inherintly
say that the program would already be in the call stack, correct? So,
how can an RPG/III program make a recursive call? ;)
> Hope this helps.
>
> Al
>
>
>
>
> +--------------------------------------------------+
> | Please do not send private mail to this address. |
> | Private mail should go to barsa@ibm.net. |
> +--------------------------------------------------+
>
> Al Barsa, Jr. - Account for Midrange-L
> Barsa Consulting, LLC.
> 400 > 390
>
> Phone: 914-251-9400
> Fax: 914-251-9406
>
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.