|
Programmatically it is defined the same way too. I use recursion, although rarely, in some applications. For instance printing out an indented bill of materials where the processing has to run through a "splay tree" type of structure. I also use it on our Local HTML based newsgroups to dipslay messages and indent responses. They are all subprocedures, though. I find it kind of strange when the definition for something like recursion is different, or thought of as such, in the "as/400 world" than the definition for the same in in the "non-as/400 world". Bradley V. Stone Taylor Corporation - OASIS Programmer/Analyst bvstone@taylorcorp.com > -----Original Message----- > From: David Morris [SMTP:dmorris@plumcreek.com] > Sent: Thursday, November 12, 1998 2:08 PM > To: MIDRANGE-L@midrange.com > Subject: Re: RE: RPG & recursive call > > Brad, > > I think you are technically correct on the meaning of recursion, > especially when > related to a mathematical expression. I think the term is used > differently in > programming. If it were not, recursion would be very rare... do you > really call > another program directly?. It looks like IBM's definition is the same as > Mark's on > the AS/400 based on the description found in message RPG8888. > > David Morris > > >>> "Stone, Brad V (TC)" <bvstone@taylorcorp.com> 11/12 7:28 AM >>> > > > -----Original Message----- > > > > If the call from the RPG program is to a CLP that is already in the > > stack. > > > > -mark > > > [And Brad Said:] That ain't recursion. Recursion is a procedure > calling itself. > > > +--- > | 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.