Difference between revisions of "Os.shutdown"

From ComputerCraft Wiki
Jump to: navigation, search
(Added the page)
 
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=os.shutdown()
 
|name=os.shutdown()
|args=None
 
 
|returns=None
 
|returns=None
 
|api=os
 
|api=os

Revision as of 03:14, 27 June 2012


Grid Redstone.png  Function os.shutdown()
Shuts down the computer
Syntax os.shutdown()()
Returns None
Part of ComputerCraft
API os

Examples

Grid paper.png  Example
shut Down
Code
os.shutdown()




Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.