Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FifteenWindows/OS Functions (continued)

GetOperatingSystemVersion Function

Overview

The GetOperatingSystemVersion function returns an int containing a system version number. This is a serial number, not an operating system version number.

Syntax/Parameters

Syntax

int = GetOperatingSystemVersion ( );

Parameters

(none)

Return Value

Returns an int containing the system version number (code).

Remarks

The code will be one of the following:

  Define   Code   Operating System  
  WIN_MAJOR_2003   7   Windows 2003 (server)  
  WIN_MAJOR_XP   8   Windows XP  
  WIN_MAJOR_VISTA   9   Windows Vista  
  WIN_MAJOR_7   10   Windows 7  
  WIN_MAJOR_8   11   Windows 8  
  WIN_MAJOR_81   12   Windows 8.1  
  WIN_MAJOR_10   13   Windows 10  
  WIN_MAJOR_10   13   Windows 11  

 

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic

Page revised 2024-10-21