+ document lcl_fullversion
- remove mention of FPC 2.3.1 as minimum FPC version requirement for LCL is higher

git-svn-id: trunk@46832 -
This commit is contained in:
reiniero 2014-11-13 13:52:17 +00:00
parent 957d32b9e0
commit 0a7bd582cc

View File

@ -14,12 +14,20 @@
They can be used at runtime to determine the LCL version, so LCL application They can be used at runtime to determine the LCL version, so LCL application
writers and component writers can offer different functionality or workarounds writers and component writers can offer different functionality or workarounds
for bugs and take the LCL version into account while choosing their algorithms for bugs and take the LCL version into account while choosing their algorithms
at run-time.</p><p>Likewise, these version constants can be used at compile time in an conditional at run-time.</p><p>Likewise, these version constants can be used at compile time in conditional
expressions, such as <i>{$IF lcl_major&gt;0}</i>. These kinds of expressions, such as <i>{$IF lcl_major&gt;0}</i>. These kinds of
epressions are support in <i>{$mode delphi}</i>. fpc 2.3.1 added expressions are supported in <i>{$mode delphi}</i> and <i>{$mode objfpc}.</p>
support for these kind of expressions in <i>{$mode objfpc}</i>.</p>
</descr> </descr>
<!-- constant Visibility: default -->
<element name="lcl_fullversion">
<short>LCL full version</short>
<descr><p>The lcl_fullversion constant contains all version numbers, formatted with 2 digits and conatenated (leading zeros are omitted).</p>
<p>For example, if the LCL version is 1.2.4.6, lcl_fullversion will be 1020406</p>
</descr>
<seealso>lcl_version</seealso>
</element>
<!-- constant Visibility: default --> <!-- constant Visibility: default -->
<element name="lcl_major"> <element name="lcl_major">
<short>LCL major version</short> <short>LCL major version</short>
@ -50,7 +58,7 @@ contains the third number.</descr>
<element name="lcl_patch"> <element name="lcl_patch">
<short>LCL patch version</short> <short>LCL patch version</short>
<descr>Given a complete version string like 0.9.24.1, the lcl_patch constant <descr>Given a complete version string like 0.9.24.1, the lcl_patch constant
contains the last number. If there is not fourth number, for example when the contains the last number. If there is no fourth number, for example when the
version string is 0.9.25, then lcl_patch is 0. version string is 0.9.25, then lcl_patch is 0.
</descr> </descr>
<seealso>lcl_version</seealso> <seealso>lcl_version</seealso>
@ -59,7 +67,7 @@ version string is 0.9.25, then lcl_patch is 0.
<!-- constant Visibility: default --> <!-- constant Visibility: default -->
<element name="lcl_version"> <element name="lcl_version">
<short>LCL version string</short> <short>LCL version string</short>
<descr>Contains the LCL version string. <descr>Contains the LCL version string, e.g. 1.0.12.
</descr> </descr>
<seealso> <seealso>
</seealso> </seealso>