Hello Daniel,

Am 10.08.2025 um 23:50 schrieb Daniel Gross <daniel@xxxxxxxx>:

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.

Very lean and interesting approach! Thanks!

I still fail to grok that that — due to them by default being a pointer —, passed parameters are inherently bidirectional.

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.