Navigation:  ThinBASIC language > Program Flow >

Sleep

Previous pageReturn to chapter overviewNext page

 

Description

 

Stops program execution for the passed Milliseconds time.

 

Syntax

 

n = Sleep(Milliseconds)

n = Sleep Milliseconds

 

Returns

 

Number of milliseconds passed to the function.

 

Parameters

 

Name

Type

Optional

Meaning

Milliseconds

Number

No

Number of milliseconds to wait.

 

Remarks

 

Restrictions

 

See also

 

Examples