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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  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

Grid paper.png  Example
prints the Computer OS
Code
term.write(os.version())