|
Got no real choice, Bob. This is for my revitalization product. I return a value of the key pressed, and have to set on the appropriate *INKx indicators for the user. In RPG400, I have a little subroutine that does 24 moves, but I was hoping to find something a little more elegant in RPGIV. I did: D psckeytab s 1 dim(24) based(psckeyptr) D psckeyptr s * inz(%addr(*inka)) C movea *zeros psckeytab C eval psckeytab(psckey) = *on This obviously assumes that the command key indicators are stored sequentially in memory, which they currently are. If at some future time IBM changes its mind on that particular feature, I'll just replace my code with something a little less subtle. Joe > From: Bob Cozzi (RPGIV) > > Joe, > > That may work but it looks like you're trying to get Fred Flinstone's > car to fly like George Jetson's. :(
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.