os.version

From ComputerCraft Wiki
Revision as of 14:09, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Updated references from "os" to "OS")

Jump to: navigation, search


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