Difference between revisions of "Os.version"
From ComputerCraft Wiki
m (moved Os.version() to Os.version) |
(It doesn) |
||
Line 8: | Line 8: | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc=prints the Computer OS | + | |desc=prints the version of the Computer's OS |
− | |code= | + | |code=print(os.version()) |
}} | }} | ||
}} | }} |
Revision as of 03:13, 27 June 2012
Function os.version | |
Returns the version of the OS the computer is running. | |
Syntax | os.version() |
Returns | the version of the operating system of the Computer |
Part of | ComputerCraft |
API | os |
Examples
Example | |
prints the version of the Computer's OS | |
Code |
print(os.version()) |