Unit 'FileInfo' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

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;

Arguments

Q1

  

First version quad to compare

Q2

  

Second version quad to compare

Function result

Returns True if the first version is newer

Arguments

V1

  

First version to compare

V2

  

Second version to compare

Arguments

V1

  

First version to compare

V2

  

Second version to compare

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

CompareVersionQuads

  

Compares two version quad arrays

CompareProgramVersion

  

Compares two program version records


Documentation generated on: Dec 15 2025