Sleep

Use this function to pause, or 'sleep' a process for a specified interval, expressed in milliseconds.

Syntax

Sleep(ms);

Argument

Description

ms

The number of milliseconds that you want the process to pause.

Example

# Pause the process for 3 seconds
sleep ( 3000 );