|
One choice would be to record a macro, label it, save it, then play the
macro when needed.
I've done that for library lists for example. Its not exactly elegant,
but it works. It even records your typos and the backspacing to fix the
typo. Its fun to watch. Once saved, it is easy to edit, also.
Voris, John wrote:
I am writing some Unit-Test software for our shop, and would like to do
something in an automated fashion when the screen format is opened. Or
when the user presses a function key. I am trying to write these
Unit-Test programs with the most minimal code and logic. So I am
looking for a "codeless" solution inside the RPG program.
A function of "ADDDSPTRG" similar to ADDPFTRG would be great.
One option is to overriding the PRINT function with a program (which I
believe can be done and may be the most straight-forward).
Using a data queue to ultimately hand the Open event back to the display
program seems like overkill to me.
Are there any other alternatives that anyone can think of?
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.