Skip to content

NewerVersion

Determines if one version is newer than another

Declaration

Source position: fileinfo.pp line 126

function NewerVersion(Q1: TVersionQuad; Q2: TVersionQuad) : Boolean;
function NewerVersion(V1: TProgramVersion; V2: TProgramVersion)
                      : Boolean;
function NewerVersion(V1: string; V2: string) : Boolean;

Description

NewerVersion compares two version values and returns True if the first version is newer than the second. Supports TVersionQuad, TProgramVersion, and string parameters.

See also

Name Description
CompareVersionQuads Compares two version quad arrays
CompareProgramVersion Compares two program version records