Difference between revisions of "Os.version"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
| Line 3: | Line 3: | ||
|name=os.version | |name=os.version | ||
|returns=the version of the operating system of the Computer | |returns=the version of the operating system of the Computer | ||
| − | |api= | + | |api=OS |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the version of the OS the computer is running. | |desc=Returns the version of the OS the computer is running. | ||
Revision as of 14:09, 30 November 2012
| 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
| prints the version of the Computer's OS | |
| Code |
print( os.version() ) |