Difference between revisions of "Shell.exit"

From ComputerCraft Wiki
Jump to: navigation, search
(Forgot some stuff)
m (Moved to CAT:APIFunctions)
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:38, 28 November 2012


Grid Redstone.png  Function shell.exit
Exits the current program (or shell if no program is open)
Syntax shell.exit()
Returns Text written on the screen
Part of ComputerCraft
API shell

Examples

Grid paper.png  Example
Exits the current program (or shell if no program is open)
Code
shell.exit()