Difference between revisions of "Shell.exit"
From ComputerCraft Wiki
(Change to standard function formatting) |
|||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
+ | {{Function | ||
+ | |name=shell.exit | ||
+ | |returns=Text written on the screen | ||
+ | |api=term | ||
+ | |addon=ComputerCraft | ||
+ | |desc=Writes to the screen | ||
+ | |examples= | ||
+ | {{Example | ||
+ | |desc=Exit the current program (or shell if no program is open) | ||
+ | |code=shell.exit() | ||
+ | }} | ||
+ | }} |
Revision as of 23:55, 2 July 2012
![]() | |
Writes to the screen | |
Syntax | shell.exit() |
Returns | Text written on the screen |
Part of | ComputerCraft |
API | term |
Examples
![]() | |
Exit the current program (or shell if no program is open) | |
Code |
shell.exit() |