Pause
Tired of having to pause in increments of 1 second? This coding will pauses based on MILLIseconds using the GetTickCount function.
AI
ИИ-обзор: 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.
Исходный код
Sub Pause (ByVal hInterval As Double) Dim hCurrent As Long hInterval = hInterval * 1000 hCurrent = GetTickCount() Do While GetTickCount() - hCurrent < hInterval DoEvents Loop End Sub
Оригинальные комментарии (3)
Восстановлено из Wayback Machine