{{tag>category:"AREV Specific"}}
[[https://www.revelation.com/|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]]
==== 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 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
[url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url]
[img]http://www.sprezzatura.com/zz.jpg[/img]
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=C4628DD1C540363D852565AF00526417|View this thread on the forum...]]