Advertisement
Java_Volume1 Miscellaneous #96948

Pause

Tired of having to pause in increments of 1 second? This coding will pauses based on MILLIseconds using the GetTickCount function.

AI

Resumen de IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fuente
original-source
Sub Pause (ByVal hInterval As Double)
Dim hCurrent As Long
hInterval = hInterval * 1000
hCurrent = GetTickCount()
Do While GetTickCount() - hCurrent < hInterval
  DoEvents
Loop
End Sub
Comentarios originales (3)
Recuperado de Wayback Machine