Skip to content

piVersionMajor - cVersionInfo

Retrieves the "major" part of the build number

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piVersionMajor
Access Type Syntax
Read Access: Get piVersionMajor to IntegerVariable
Write Access: Set piVersionMajor to IntegerVariable/Value

Description

The piVersionMajor property retrieves the "major" part of the build number. The version number consists of four discrete values: major, minor, release and build. Typically, the compiler automatically increments the build value, and the other three values are application-specific.

Before retrieving any of the version numbers, ensure that the application actually has version information by checking the pbIncluded property.