Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

SystemInfo.WinMajorVersion

Returns the major version number of the operating system.

Component Version macOS Windows Linux Server FileMaker iOS SDK
SystemInfo 2.8 No Yes No Yes, Windows only No
MBS( "SystemInfo.WinMajorVersion" )   More

Parameters

none

Result

Returns the major version number.

Description

Returns the major version number of the operating system.
Returns 5 on Windows 2000/XP and 6 on Windows Vista/7/8.

Examples

Show window version:

Show Custom Dialog [ "Windows Version" ; MBS( "SystemInfo.WinMajorVersion" ) & "." & MBS( "SystemInfo.WinMinorVersion" ) ]

See also

Created 18th August 2014, last changed 15th November 2020


SystemInfo.WinCSDVersion   -   SystemInfo.WinMinorVersion

Feedback: Report problem or ask question.




Links
MBS FileMaker blog

Start Chat