os.shutdown

From ComputerCraft Wiki
Revision as of 17:27, 4 July 2012 by 209.216.183.205 (Talk) (Undo revision 1945 by 91.121.27.33 (talk))

Jump to: navigation, search


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.