You are here: Function Reference > Alphabetical Listing > M > MajorVersion

MajorVersion

Use this function to get the major version number of the system being executed.

Syntax

MajorVersion ( )

There are no parameters for this function.

Example

Here is an example:

Function

Result

Explanation

#MAJOR = MajorVersion ()

string

Returns the system’s major version number.

See also