Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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 KEYPRESSED

REPEAT

Any insight as to how the keyboard buffer can checked from AREV would be appreciated.


At 18 FEB 1998 10:28AM Aaron Kaplan wrote:

Loop
   Input X, -1
Until Len( X )
Repeat

apk@sprezzatura.com

Sprezzatura, Inc.

www.sprezzatura.com_zz.jpg

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c4628dd1c540363d852565af00526417.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1