Wait Statement [Runtime] /text/sbasic/shared/03130600.xhp Sun Microsystems, Inc. converted from old format - fpe
Wait statement Wait Statement [Runtime] Interrupts the program execution for the amount of time that you specify in milliseconds.
Syntax: Wait millisec Parameters: millisec: Numeric expression that contains the amount of time (in milliseconds) to wait before the program is executed. Example: Sub ExampleWait Dim lTick As Long lTick = GetSystemTicks() wait 2000 lTick = (GetSystemTicks() - lTick) MsgBox "" & lTick & " Ticks" ,0,"The pause lasted" End Sub