|
we use a char(2) parm that is passed to every interactive program, and it returns there a "return code".
Like "OK" for "I have done what you wanted" or "KC" for "user pressed F3".
In the case of "KC" the caller also ends with "KC" - and the caller of that caller also ends with "KC" ... and that goes on until the "root program" is reached, and that also ends with "KC" - but as it ends in a menu, there is nobody who cares about that.
That works through complete call stacks of procedures and programs - and is easy to understand and program.
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.