os.version

From ComputerCraft Wiki
Revision as of 03:13, 27 June 2012 by 67.189.72.22 (Talk) (It doesn)

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