Difference between revisions of "Shell.exit"
From ComputerCraft Wiki
(Change to standard function formatting) |
(Forgot some stuff) |
||
Line 3: | Line 3: | ||
|name=shell.exit | |name=shell.exit | ||
|returns=Text written on the screen | |returns=Text written on the screen | ||
− | |api= | + | |api=shell |
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc= | + | |desc=Exits the current program (or shell if no program is open) |
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc= | + | |desc=Exits the current program (or shell if no program is open) |
|code=shell.exit() | |code=shell.exit() | ||
}} | }} | ||
}} | }} |
Revision as of 23:55, 2 July 2012
![]() | |
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
![]() | |
Exits the current program (or shell if no program is open) | |
Code |
shell.exit() |