os.getComputerLabel
From ComputerCraft Wiki
Revision as of 15:17, 1 May 2012 by Aurel2108 (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=os.getComputerLabel |returns=the label of the Computer |api=os |addon=ComputerCraft |desc=returns the label of the computer this command is exec...")
| returns the label of the computer this command is executed on. | |
| Syntax | os.getComputerLabel() |
| Returns | the label of the Computer |
| Part of | ComputerCraft |
| API | os |
Examples
| prints the Computer Label | |
| Code |
term.write(os.getComputerLabel()) |