os.getComputerLabel
From ComputerCraft Wiki
Revision as of 14:08, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Updated references from "os" to "OS")
Function os.getComputerLabel | |
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
Example | |
prints the Computer Label | |
Code |
term.write(os.getComputerLabel()) |