Project

General

Profile

$os » History » Version 4

Per Amundsen, 02/23/2023 06:41 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$os*
4
5
Returns the version number of the operating system.
6 2 Per Amundsen
7 3 Per Amundsen
_The reply can be XP, 2003, 2003R2, Vista, 2008, 7, 2008R2, 8, 2012, 8.1, 2012R2, 2016, 10 0r 11._
8
9
*Properties*
10
11 4 Per Amundsen
table(ktable).
12
|*Property*|*Description*|
13
| .major | Returns the os major version. (returns wrong in windows 11) |
14
| .minor | Returns the os minor version. |
15
| .build | Returns the os build number. |
16
| .platform | Returns the os platform. |
17
| .type | Returns the os type. |
18
| .spmajor | Returns the os service pack major version. |
19
| .spminor | Returns the os service pack minor version. |
20
| .suite | Returns the os suite. |