LOTUSSCRIPT LANGUAGE


Sleep statement
Example

Causes a script to pause for at least the number of seconds specified. The script may pause longer.

Syntax

Sleep ( numExpr )

Elements

numExpr


Usage

This function provides a way for a script to wait without consuming the system resources of a spin loop. Implementation depends on the platform, but on all platforms except the legacy platforms, this function causes the LotusScript code to give up its time slice.

Accuracy is limited to the accuracy of the platform being used. If the most accurate timing is limited to milliseconds, the time specified is rounded up to the nearest millisecond.

Example
See Also