QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: SMcNeill on August 08, 2019, 05:41:29 pm
-
Here's another old program which I stumbled across while cleaning up my drive:
count = count + 1
count = 0: timeit = 0
count = count + 1
count = 0: timeit = 0
count = count + 1
Compile and run it, and give it 15 seconds to do its thing. When finished, there'll be three numbers on the screen which represent how many times QB64 can process an INKEY$ event, _KEYHIT, and _KEYDOWN, each over 5 seconds.
People sometimes ask me why I always tend to use KEYHIT over the other methods. I think this should showcase why quite readily. ;D
-
Thank you, Steve. Very interrest outputs!
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
Yes great tip!
I can confirm the so strong difference among the 3 way to take input from keyboard on my old TOSHIBA Celeron 1GigaHzh 4Giga RAM windows 10
[ This attachment cannot be displayed inline in 'Print Page' view ]
Thanks