CTRL makes program run quicker !?

Previous topic - Next topic

MrTAToad

With this test program, I found that if you hold down the control button, it appears that the main loop executes quicker... :blink:

Code (glbasic) Select
GLOBAL a%,b%,c%

AUTOPAUSE TRUE

a%=0
b%=0
c%=0

WHILE TRUE
PRINT "MAIN LOOP:"+a%+" ON_PAUSE:"+b%+" ON_RESUME:"+c%,0,0
SHOWSCREEN
HIBERNATE
INC a%
WEND

SUB GLB_ON_PAUSE:
INC b%
ENDSUB

SUB GLB_ON_RESUME:
INC c%
ENDSUB


Hold down CTRL and watch the Main Loop counter increase at a quite astounding rate...

MrTAToad