input time delay
Posted: Thu Aug 25, 2005 2:48 pm
Code: Select all
Do
A$=inkey$
if A$ <> "" then
CMD$ = CMD$ + A$
end if
locate y, 2: PRINT CMD$
loop until cmd$ = chr$(13) or ...
grtz
Seb
Discuss QBasic, Freebasic, QB64 and more
http://petesqbsite.com/phpBB3/
Code: Select all
Do
A$=inkey$
if A$ <> "" then
CMD$ = CMD$ + A$
end if
locate y, 2: PRINT CMD$
loop until cmd$ = chr$(13) or ...
Code: Select all
StartTime! = TIMER 'you could make it an integer if precise timing is not needed
Do
A$=inkey$
if A$ <> "" then
CMD$ = CMD$ + A$
end if
locate y, 2: PRINT CMD$
loop until cmd$ = chr$(13) or TIMER - StartTime! < AmountOfSeconds