$os: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
 
Daveoh (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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 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 21: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