× 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.




Just be aware that to make it truly recursive you will have to create a new 
activation group each time the procedure is called. As I understand things, 
this takes a lot of resources. Has anyone bombed the system attempting to 
create too many activation groups.

Back in the late 80s, I was working at a site that had a cute little program 
that would allow you to make recursive calls.  It was a menu display.  I 
wondered how many times this could be executed before it bombed.  To my 
surprise, it stopped at 79. To my astonishment, the whole system halted. My 
face was bright red. When the CE came in he brought the system down correctly 
and it rebooted normally.  The error said that a system stack had overflowed. I 
had no idea.

This was in the days of OPM and S/38. When the guy installing the UPS clipped 
the wrong wire, it took this system 18 hours to recover. Those were the good 
old days???


Marvin

message: 4
date: Wed, 22 Mar 2006 14:30:07 -0800
from: "James H H Lampert" <jamesl@xxxxxxxxxxx>
subject: Re: Recursive calls in RPG ILE

Recursion in ILE RPG works well enough that you can write 
a recursive descent parser.

--
JHHL


------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.