* window frame A R WINFRAME A WINDOW(&WINLNE + A &WINPOS + A 16 + A 76 + A *NORSTCSR + A *NOMSGLIN)
I want to programatically access (through INFDS, or some structure) the 16 and 76 in the above DDS example in my RPG program? I have looked at NUM_ROWS and NUM_COLS, but they don't give me what I want unless I am missing something... see below:
fsvp0203d cf e workstn infds(Kbd) f prefix(s_) * representation of which key was pressed on the keyboard d Kbd ds d KeyPressed2 369 369 d Misc 241 566 d NUM_ROWS 282 283i 0 * Number of rows d NUM_COLS 284 285i 0 * Number of cols
NUM_ROWS and NUM_COLS return a large number like 1668, which I am not even sure how that is possible given their size, so maybe I am missing something somewhere...