Pause Statement

Suspends the execution of the script for a specified interval.

Syntax

PauseTimeoutMilliseconds

The TimeoutMilliseconds parameter specifies the time, in milliseconds, for which to suspend execution.

Remarks

The Pause statement is fully equivalent to the Wait statement. These two statements work absolutely identically and are supported for compatibility with different versions of BASIC.

Example

In the example below Pause is used to suspend execution for 5 seconds.

Pause 5000

 

See Also

Wait Statement, Timer Function