os.version
From ComputerCraft Wiki
| 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 (assuming you are running it on a Computer). | |
| Code |
print(os.version()) |
| Output | CraftOS 1.6 |