B
Berend Botje
Hi,
I'm looking for a way to use a counter which can count smalle
intervals than the standard 1 second. I need something like 0.
seconds.
Currently I'm using this as my pause module. Problem is, it uses 100
of my CPU, which is (naturally) unacceptable.
Public Sub Pause(Pausetime As Single)
Dim Starttime As Single
Starttime = Timer
Do Until Timer > Starttime + Pausetime
Loop
End Sub
In this sub "Pausetime" is used to determine the pause interval. In m
case 0.1 seconds (pausetime = 0.1)
Any suggestions are welcome.
Regards,
Berend Botj
I'm looking for a way to use a counter which can count smalle
intervals than the standard 1 second. I need something like 0.
seconds.
Currently I'm using this as my pause module. Problem is, it uses 100
of my CPU, which is (naturally) unacceptable.
Public Sub Pause(Pausetime As Single)
Dim Starttime As Single
Starttime = Timer
Do Until Timer > Starttime + Pausetime
Loop
End Sub
In this sub "Pausetime" is used to determine the pause interval. In m
case 0.1 seconds (pausetime = 0.1)
Any suggestions are welcome.
Regards,
Berend Botj