os.version
From ComputerCraft Wiki
Revision as of 19:57, 21 April 2013 by Hawk777 (Talk | contribs) (Add return type and example output)
Function os.version | |
Returns the version of the OS the computer is running. | |
Syntax | os.version() |
Returns | string the version of the operating system of the Computer |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
Prints the version of the Computer's OS | |
Code |
print( os.version() ) |
Output | CraftOS 1.5 |