Difference between revisions of "Os.version"
From ComputerCraft Wiki
(It doesn) |
|||
Line 9: | Line 9: | ||
{{Example | {{Example | ||
|desc=prints the version of the Computer's OS | |desc=prints the version of the Computer's OS | ||
− | |code=print(os.version()) | + | |code=print( os.version() ) |
}} | }} | ||
}} | }} |
Revision as of 22:06, 5 July 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() ) |