Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Sleep statement

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

Syntax

Sleep ( numExpr )

Elements

numExpr

Any numeric expression.

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.

See examples

Examples: Sleep statement
Related topics
LotusScript Language Reference: Q through T
Introduction to multithreading and synchronization in LotusScript




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009