$os: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Daveoh (talk | contribs)
No edit summary
 
Daveoh (talk | contribs)
mNo edit summary
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 18: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