Sign in Join
FPDoc Onlineexperiment

NewerVersion function

In unit FileInfo

Determines if one version is newer than another

Declaration

pascal
function NewerVersion(Q1: TVersionQuad; Q2: TVersionQuad): Boolean

Arguments

Q1

First version quad to compare

Q2

Second version quad to compare

Function result

Returns True if the first version is newer

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.