Difference between revisions of "Os.shutdown"
From ComputerCraft Wiki
(Undo revision 1945 by 91.121.27.33 (talk)) |
m (Moved to CAT:LuaCoreFunctions) |
||
| Line 15: | Line 15: | ||
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program. | Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program. | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:49, 28 November 2012
| Shuts down the computer | |
| Syntax | os.shutdown() |
| Returns | None |
| Part of | ComputerCraft |
| API | os |
Examples
| shut Down | |
| Code |
os.shutdown() |
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.