os.version
From ComputerCraft Wiki
Revision as of 04:23, 18 May 2012 by 98.237.13.239 (Talk) (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...")
Function os.version | |
returns the operating system of the computer this command is executed on. | |
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()) |