Lasso Soft Inc. > Home

[ sleep ]

Method

[Sleep] pauses execution of the current script for a specified number of milliseconds. This method is usually used within methods that are executed asynchronously.

  • Syntax
Sleep(Number of Milliseconds)
Examples
  • Beginner

To pause executing a web page for a couple seconds:

Use the [Sleep] method. The following example makes the current script execution pause for 2 seconds.

Code

Sleep(2000)

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft