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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com