LassoScript Utility
Basics Browse Detail

[Sleep]

Tag Link [Sleep] Category Technical
Type Process Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type None Security Tag
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Sleep] pauses execution of the current format file for a specified number of milliseconds. This tag is usually used within custom tags that are executed asynchronously.

Syntax

[SleepNumber of Milliseconds]

Parameters

Required Parameters
Number of Milliseconds The number of milliseconds for which Lasso should sleep.

Examples

To pause executing a Web page for a couple seconds:

Use the [Sleep] tag. The following example makes the current format file execution pause for 2 seconds.

[Sleep: 2000]