The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using inkey
#4
Have a look at INPUT.BAS code (a library to simulate INPUT)

ardentcrest Wrote:This could be of help. for other parts of my program
But I dont think its what I'm looking for.

I want to type in a line of text while other things are happening.
Then you might want to store the value of INKEY$. INKEY does not lock your program execution:
Code:
myLine = "" row = 0 LOOP1: DO_THING 1 K$ = INKEY$ IF K$ = CHR$(13) THEN ' Enter LET row = row + 1 myLine = "" END IF PRINT AT row, 0; MyLine$;: REM add ; "_"; to have a cursor GOTO LOOP1
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)