shell.exit

From ComputerCraft Wiki
Revision as of 23:55, 2 July 2012 by 67.189.72.22 (Talk) (Forgot some stuff)

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