os.version
From ComputerCraft Wiki
Revision as of 19:57, 21 April 2013 by Hawk777 (Talk | contribs) (Add return type and example output)
| 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
| Prints the version of the Computer's OS | |
| Code |
print( os.version() ) |
| Output | CraftOS 1.5 |