Difference between revisions of "Os.version"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
|||
| Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:50, 28 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() ) |