Difference between revisions of "Os.version"

From ComputerCraft Wiki
Jump to: navigation, search
(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=returns the operating system of the computer this command is executed on.
+
|desc=Returns the version of the OS the computer is running.
 
|examples=
 
|examples=
 
{{Example
 
{{Example

Revision as of 04:25, 18 May 2012


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

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