Difference between revisions of "Os.version"
From ComputerCraft Wiki
(Created page with "{{lowercase}} {{Function |name=os.version |returns=the version of the operating system of the Computer |api=os |addon=ComputerCraft |desc=returns the operating system of the c...") |
|||
Line 5: | Line 5: | ||
|api=os | |api=os | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc= | + | |desc=Returns the version of the OS the computer is running. |
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 04:25, 18 May 2012
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
Example | |
prints the Computer OS | |
Code |
term.write(os.version()) |