Difference between revisions of "$os"

From Scriptwiki
Jump to: navigation, search
 
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.
 
==Example==
 
==Example==
  $os    returns XP when you are using Windows XP
+
  $os    ;returns XP when you are using Windows XP
 
[[Category:Identifiers]]
 
[[Category:Identifiers]]

Revision as of 19:44, 7 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 properties.

Example

$os    ;returns XP when you are using Windows XP