Navigation:  ThinBASIC Modules > OS (Operating System) >

OS_WinGetVersionTimeline

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns Windows version as number.

 

Syntax

 

VersionNumber = OS_WinGetVersionTimeline

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Possible return values equates:

%OS_Windows_95

%OS_Windows_95_OSR2

%OS_Windows_98

%OS_Windows_98_SE

%OS_Windows_ME

%OS_Windows_NT

%OS_Windows_2K or %OS_Windows_2000

%OS_Windows_XP

%OS_Windows_Server_2003

%OS_Windows_Vista

%OS_Windows_Server_2008

%OS_Windows_Server_2008_DC

%OS_Windows_7

%OS_Windows_Server_2008_R2

%OS_Windows_Server_2008_R2_DC

%OS_Windows_8

%OS_Windows_Server_2012

%OS_Windows_8_1

%OS_Windows_Server_2012_R2

%OS_Windows_10

%OS_Windows_Server_2015 (Attention: just guessed)

 

 

Restrictions

 

See also

 

Examples