shell.exit

From ComputerCraft Wiki
Revision as of 18:38, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)

Jump to: navigation, search


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()