Difference between revisions of "Os.version"

From ComputerCraft Wiki
Jump to: navigation, search
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=os
+
|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


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() )