Contains the version number constants of the LCL.

lclversion.pas contains the version number constants of the LCL. They can be used at run-time to determine the LCL version, so LCL application writers and component writers can offer different functionality or workarounds for bugs and take the LCL version into account while choosing their algorithms at run-time.

Likewise, these version constants can be used at compile time in conditional expressions, such as {$IF lcl_major>0}. These kinds of expressions are supported in {$mode delphi} and {$mode objfpc}.

LCL full version.

The lcl_fullversion constant contains all version numbers, formatted with 2 digits and concatenated (leading zeros are omitted).

For example, if the LCL version is 2.0.12.6, lcl_fullversion will be 2001206.

lcl_version
LCL major version.

Given a complete version string like 2.2.0, the lcl_major constant contains the first number (2).

LCL minor version.

Given a version string like 2.2.0, the lcl_minor constant contains the second number (2).

lcl_version
LCL release number.

Given a version string like 2.2.0, the lcl_release constant contains the third number (0).

lcl_version
LCL patch version.

Given a complete version string like 2.2.0.1, the lcl_patch constant contains the last number (1). If there is no fourth number, for example when the version string is 2.2.0, then lcl_patch is 0.

lcl_version
LCL version string.
Contains the LCL version string, e.g. 2.2.0.