SLEEP                                                                  Statement

SLEEP number

Description

SLEEP yields the CPU for other processes. The required parameter, number, is a numeric expression that specifies the number of milliseconds to sleep.

Example

REM SLEEP Example

'SLEEP yields the CPU for other processes

PRINT NOW

SLEEP(5000)

PRINT NOW

Output

8/18/1998 10:52:44 PM

8/18/1998 10:52:49 PM

Related Items