Difference between revisions of "Shell.clearAlias"

From ComputerCraft Wiki
Jump to: navigation, search
m (I should really check the notes before saving...)
m (Category operation: +Category:API_Functions)
Line 14: Line 14:
 
* It does not output anything, it just clears the alias.
 
* It does not output anything, it just clears the alias.
 
  }}
 
  }}
 +
 +
[[Category:API_Functions]]

Revision as of 05:06, 20 May 2013

Grid Redstone.png  Function shell.clearAlias
Clears an alias.
Syntax shell.clearAlias(string alias, string program)
Returns nil
Part of ComputerCraft
API shell

Examples

Grid paper.png  Example
Clears the alias "start" for program "startup".
Code
shell.clearAlias("start", "startup")

Additional Notes

  • It does not output anything, it just clears the alias.