shell.exit

From ComputerCraft Wiki
Revision as of 23:55, 2 July 2012 by 67.189.72.22 (Talk) (Change to standard function formatting)

Jump to: navigation, search


Grid Redstone.png  Function shell.exit
Writes to the screen
Syntax shell.exit()
Returns Text written on the screen
Part of ComputerCraft
API term

Examples

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