Wait Statement

Interrupts the program execution for the amount of time that you specify in milliseconds.

தொடரமைப்பு:

Wait millisec

அளவுருக்கள்:

millisec: Numeric expression that contains the amount of time (in milliseconds) to wait before the program is executed.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:


Sub ExampleWait
Dim lTick As Long
    lTick = GetSystemTicks()
    Wait 2000
    lTick = (GetSystemTicks() - lTick)
    MsgBox "" & lTick & " Ticks" ,0,"The pause lasted"
End Sub

Please support us!