Difference between revisions of "Os.version"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
Line 12: Line 12:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:50, 28 November 2012


Grid Redstone.png  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

Grid paper.png  Example
prints the version of the Computer's OS
Code
print( os.version() )