Equinox Online Help - Language Reference - A to Z

Home

Sleep

Applies to
SyntaxSleep DurationExpression[,DivisorExpression]
Action[Statment] Delays method execution for a specified peroid of time.
ScopeUsable anywhere
Notes

This statement puts Equinox into a dormant state. DurationExpression the unit size, defaulting to 1 (seconds).After the delay Equinox resumes execution as normal.

CategoryFlow Control
See Also Block_EndBlock, BreakPressed, Continue, Execute, EnableInput, Exit, For...Next, Goto, If_Then, Repeat_Until, Return, Sleep, Subtable, Switch, While_EndWhile
Example
Sleep 10 | ten seconds
Sleep 10,1000 | 10 milliseconds
Sleep 1,2 | half a second