Do
A$=inkey$
if A$ <> "" then
CMD$ = CMD$ + A$
end if
locate y, 2: PRINT CMD$
loop until cmd$ = chr$(13) or ...
I need it this loop a time counter. Either you press any key within a certain amount of seconds or if you don't the loop stops after the certain amount of seconds. How can I achieve this?
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
I still havn't finished the Kiwi Bird... damn that thing is hard to draw...
"Sorry for beating you up with a baseball bat Julian, but I DID think that you were a samsquanch."