Collabora Office 23.05 帮助
返回由操作系统提供的系统时钟周期数。此函数可用于优化某些进程。
GetSystemTicks()
Long
Sub ExampleWait
Dim lTick As Long
lTick = GetSystemTicks()
Wait 2000
lTick = (GetSystemTicks() - lTick)
MsgBox "" & lTick & " 个时钟周期" ,0,"暂停持续了"
End Sub