Difference between revisions of "Shell.clearAlias"

From ComputerCraft Wiki
Jump to: navigation, search
(Added function page)
 
m (I should really check the notes before saving...)
Line 12: Line 12:
  
 
  |notes=
 
  |notes=
* It does not output anything, it just sets the alias.
+
* It does not output anything, it just clears the alias.
 
  }}
 
  }}

Revision as of 02:13, 12 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.