sleep()

Read(4420) Label: sleep,

Description:

Make the system sleep.

Syntax:

sleep(n)

Note:

The function makes the system sleep for n milliseconds.

Parameter:

n

A number, whose unit is millisecond.

Example:

 

A

 

1

=now()

 

2

=sleep(3000)

Suspend the system for 3000 milliseconds.

3

=interval@s(A1,now())

Compute the duration from A1 to the start of execution of the script and return 3 in seconds.