RAD function: sleep

A RAD function that temporarily ceases the execution of an executing thread for the specified number of seconds.

Function

sleep

Format

sleep($seconds)

Parameters

The following parameter is valid for the sleep function:

Parameter Data type Description
$seconds Integer Specifies the positive integer of seconds to sleep.

Example

sleep(10)

The thread will sleep 10 seconds.