System.GetRTLVersion
Delphi
function GetRTLVersion: Word;
C++
extern DELPHI_PACKAGE Word __fastcall GetRTLVersion(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.pas System.hpp |
System | System |
Description
Returns the RTL version number of the system unit when it is compiled. The RTLVersion
constant can be used for the expression in the conditional compilation. GetRTLVersion includes two bytes:
- Upper byte: It holds the RTL major version.
- Lower byte: It holds the RTL minor version. Usually, the minor version is the number of the update release. For example, for RAD Studio 12 - Update 1, GetRTLVersion would return $2401.