Z3ZeW‖Wait Statement

Contents
krcD3‖

# BzeTW‖Wait Statement

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

### FVEx2‖Syntax:

o7Bum‖Wait millisec

### WADQ4‖Parameters:

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

### SEjHR‖Error codes:

5 Invalid procedure call

### EFSA4‖Example:

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

Related Topics

V5MGd‖WaitUntil statement

Please support us!