Problem with timer.

BlitzMax Forums/BlitzMax Beginners Area/Problem with timer.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If I run this code and then tap fast the space bar it comes a time that the TimerTicks stucks at 0
Strict

Local timer:TTimer = CreateTimer(60)

Graphics 640 , 480
While Not KeyHit(Key_Escape)
	Cls
	DrawText TimerTicks(Timer) , 10 , 10
	
	If KeyHit(KEY_SPACE) Then timer = CreateTimer(60)
	
	Flip
Wend