Collabora Office 21.06 Help
傳回由作業系統提供的系統週期數目。此函式可用於最佳化某些程序。
GetSystemTicks()
Long
Sub ExampleWait
Dim lTick As Long
lTick = GetSystemTicks()
Wait 2000
lTick = (GetSystemTicks() - lTick)
MsgBox "" & lTick & " Ticks" ,0,"The pause lasted"
End Sub