Difference between revisions of "$os"

From Scriptwiki
Jump to: navigation, search
m
m
 
Line 2: Line 2:
 
  $os
 
  $os
 
The reply can be 95, 98, NT, ME, 2K, XP, 2003, or Vista.
 
The reply can be 95, 98, NT, ME, 2K, XP, 2003, or Vista.
* This function has no properties.
+
* This function has no parameters.
 
==Example==
 
==Example==
 
  $os    ;returns XP when you are using Windows XP
 
  $os    ;returns XP when you are using Windows XP
 
[[Category:Identifiers]]
 
[[Category:Identifiers]]

Latest revision as of 22:46, 8 April 2008

Returns the version number of the operating system.

$os

The reply can be 95, 98, NT, ME, 2K, XP, 2003, or Vista.

  • This function has no parameters.

Example

$os    ;returns XP when you are using Windows XP