How can a keypress be detected? (AREV Specific)
At 18 FEB 1998 09:59:55AM D E Arbogast wrote:
In our application I have a dedicated perpetual process that I want to run until the user presses a key on the keyboard. How can I check for a keypress without halting the perpetual process while waiting input. The code needs to look something like this.
KEYPRESSED=0
LOOP
CHECK.KEYBOARD.STATUS(KEYPRESSED)UNTIL KEYPRESSEDREPEAT
Any insight as to how the keyboard buffer can checked from AREV would be appreciated.
At 18 FEB 1998 10:28AM Aaron Kaplan wrote:
LoopInput X, -1Until Len( X )Repeatapk@sprezzatura.com