Suspends the execution of the script for a specified interval.
Wait TimeoutMilliseconds |
The TimeoutMilliseconds parameter specifies the time, in milliseconds, for which to suspend execution.
The Wait statement is fully equivalent to the Pause statement. These two statements work absolutely identically and are supported for compatibility with different versions of BASIC.
In the example below Wait is used to create a 5 second pause.
Wait 5000 |
See Also |
Pause Statement, Timer Function |