|
Nedenfor er resultatet af din e-mail formular. Indsendt af hkrebs@hkrebs.dk message: This does not seem to be an appropriate use for 'recursive call's. Even though RPGLE can be called recursively there is no need to do this. The 'PAG' grows infinitely. If you don't want the user to press F12 'infinitely' number of times you must code some sort of 'F3-passthrough', and then you could as well do it the nice way with a driver program: Call Program A and recieve 'what to call next' when A returns. Including 'what to call next' you should keep track of which programs that needs to be terminated just before your driverprogram ends as you might have chosen to return from Program A without LR. This driverprogram might be your menu system top-program. Another simple approach (if all 'Program A'/'B's are CL-programs) is to let all of them end with an TFRCTL instead of RETURN. Henrik Krebs realname: Henrik Krebs email: hkrebs@hkrebs.dk REMOTE_HOST: 134.146.4.10 +--- | 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-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.