Difference between revisions of "Shell.clearAlias"
From ComputerCraft Wiki
TheVarmari (Talk | contribs) (Added function page) |
(shell.clearAlias only requires, and only accepts the alias to clear) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|name=shell.clearAlias | |name=shell.clearAlias | ||
− | |args= {{type|string}} alias | + | |args= {{type|string}} alias |
|api=shell | |api=shell | ||
|returns=[[nil]] | |returns=[[nil]] | ||
Line 7: | Line 7: | ||
|desc=Clears an alias. | |desc=Clears an alias. | ||
|examples={{Example | |examples={{Example | ||
− | |desc=Clears the alias "start | + | |desc=Clears the alias "start". |
− | |code=shell.clearAlias("start | + | |code=shell.clearAlias("start") |
}} | }} | ||
|notes= | |notes= | ||
− | * It does not output anything, it just | + | * It does not output anything, it just clears the alias. |
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Latest revision as of 15:28, 29 June 2013
Function shell.clearAlias | |
Clears an alias. | |
Syntax | shell.clearAlias(string alias) |
Returns | nil |
Part of | ComputerCraft |
API | shell |
Examples
Example | |
Clears the alias "start". | |
Code |
shell.clearAlias("start") |
Additional Notes
- It does not output anything, it just clears the alias.