CasewareDocs

Major

Gets the value of the major number of the version.

Compatibility

Available as of IDEA version 12.0

Syntax

Major()

Type

Integer

Example

Sub Main()
Dim ac As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
MsgBox CStr(ver.Major) + "." + CStr(ver.Minor) + "." + CStr(ver.Revision) + "." + CStr(ver.Build)

End Sub