os.shutdown

From ComputerCraft Wiki
Revision as of 21:42, 25 June 2012 by Zalerinian (Talk | contribs) (Added the page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function os.shutdown()
Shuts down the computer
Syntax os.shutdown()(None)
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.