Difference between revisions of "Os.sleep"
From ComputerCraft Wiki
(Added the function template.) |
m (moved Os.sleep( timeout ) to Os.sleep) |
(No difference)
|
Revision as of 07:35, 30 May 2012
Function os.sleep | |
Pauses the computer for a number of seconds | |
Syntax | os.sleep(timeout) |
Returns | nil |
Part of | ComputerCraft |
API | os |
Examples
Example | |
Pause for 3 seconds | |
Code |
os.sleep( 3 ) |
You can also just use sleep( timeout )