Difference between revisions of "Os.reboot"
From ComputerCraft Wiki
Zalerinian (Talk | contribs) (Added the page) |
MKlegoman357 (Talk | contribs) m (Fixed/Expnaded) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=os.reboot | |name=os.reboot | ||
− | | | + | |returns={{type|nil}} |
− | | | + | |api=OS |
− | |api= | + | |
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc= | + | |desc=Reboots the [[Computer]], [[Turtle]] or [[Pocket Computer]]. |
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc= | + | |desc=Restarts the computer. |
− | |code=os.reboot() | + | |code='''os.reboot()''' |
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Latest revision as of 22:50, 3 June 2014
Function os.reboot | |
Reboots the Computer, Turtle or Pocket Computer. | |
Syntax | os.reboot() |
Returns | nil |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
Restarts the computer. | |
Code |
os.reboot() |