Post Reply 
71B: DISP, KEY$, and keyboard buffer
04-23-2021, 04:52 PM
Post: #10
RE: 71B: DISP, KEY$, and keyboard buffer
(04-23-2021 03:57 PM)Dave Frederickson Wrote:  
(04-22-2021 12:39 PM)Dave Britten Wrote:  Adding line 35 to empty the keyboard buffer prevents this from happening, but is there a more elegant way to handle this?

Only slightly more elegant, replace KEY$ with KEYWAIT$.
http://holyjoe.net/HP71/lexlist.htm

But that would add another pause on top of DISP pausing due to DELAY 8,8. You could set DELAY 0,0 instead to have KEYWAIT$ handle the pause instead of DISP, but then you can't scroll long outputs horizontally.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 71B: DISP, KEY$, and keyboard buffer - Dave Britten - 04-23-2021 04:52 PM



User(s) browsing this thread: 2 Guest(s)