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



Dave wrote:

That's more interesting to me, so programs CAN be called recursively?

Oh, yes, of course they can.

In our own QuestView application: it's possible to create objects called VIEW Programs, that launch QuestView with preset, locked parameters (as opposed to the VIEWCPP program, the CPP for the VIEW command, which launches it in ad-hoc mode). And it's possible for VIEW programs to include calls to other VIEW programs (or to HLL programs written to our exit spec, or for HLL programs to call VIEW programs). Bottom line: when a VIEW program calls another VIEW program, what really happens is an indirect recursive call from one instance of QuestView to a second instance, and in a fairly complex QuestView application (e.g., the demo suite we supply), you could easily have as many as four or five copies of QuestView on the call stack.

Back in the days of CISC AS/400s, we even supplied a utility that would re-encapsulate an OPM RPG program to make it recursive. We stopped bundling the utility after it stopped working.

--
JHHL

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.