|
Oh, lets not forget the *STATUS field in the file feedback that will gives you 01122/01123 for rollup/down keys pressed. Hmmm, isn't roll up the same as page down? I can't remember any more. Now -that's- obscure! <g> And that was the only way (that I knew of) on the S/34/36. But, like a lot of techniques, like choosing K? over AID byte, is that once a programmer gets something set up to work consistently they will stick with it unless there is a compelling reason to change. (By compelling, I mean something better than "My code can bet up your code.") IMHO, *INK? is just as valid a construct as any other method. At least you can COUNT on *INKC being F3. Don't know if you can count on that degree of consistency in any other method. BTW, we stopped using the K? indicators when we left RPGII and have endured debates like this one ever since. <g> Scott Klement wrote: > > No, there aren't standard indicators for the other function keys, you > have to use a general-purpose indicator. > > Example... in your DDS, you might have: > A PAGEUP(51) > > Then in your RPG, you check for *IN51 to determine if Page Up was pressed. > It's too bad that IBM didn't create something similar to the *INKx keys > for things like this as well :( > > In fact, the reason I originally learned how to use the AID byte was > because it was the only way (that I knew of) to check PageUp/PageDown, etc > on the S/36. >
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.