os.reboot

From ComputerCraft Wiki
Revision as of 22:50, 3 June 2014 by MKlegoman357 (Talk | contribs) (Fixed/Expnaded)

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


Grid Redstone.png  Function os.reboot
Reboots the Computer, Turtle or Pocket Computer.
Syntax os.reboot()
Returns nil
Part of ComputerCraft
API OS

Examples

Grid paper.png  Example
Restarts the computer.
Code
os.reboot()