71B: DISP, KEY$, and keyboard buffer
|
04-23-2021, 06:25 PM
Post: #11
|
|||
|
|||
RE: 71B: DISP, KEY$, and keyboard buffer
(04-23-2021 04:52 PM)Dave Britten Wrote: 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. Ah, the SCROLL statement is made exactly for this purpose: following a DISP it pauses execution, lets the user scroll the line if needed, and resumes execution after a key different from the left/right arrows is pressed. SCROLL lets you specify the starting position, and doesn't eat the terminating key (you may still need a KEY$). SCROLL is available is the FORTH/Assembler module, or in various LEX files (CUSTUTIL, STRUTIL, USERLIBA, ULIB52, ...). Many solutions now... J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)