TFPVersion.CompareVersion function
Compare this version with another version
Declaration
function CompareVersion(AVersion: TFPVersion): IntegerArguments
AVersion | Version object to compare against |
Function result
Comparison result: negative, zero, or positive integer
Description
CompareVersion performs a numerical comparison between this version object and another version.
The comparison follows semantic versioning rules, comparing major, minor, micro, and build numbers in sequence.
Returns a negative value if this version is older, zero if versions are equal, or positive if this version is newer.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
