[Overview][Constants][Types][Variables][Index] | Reference for unit 'LCLVersion' (#lcl)

# Reference for unit 'LCLVersion'

Contains the version number constants for the LCL.

`uses`
`LazVersion;`

## Overview

lclversion.pas contains the version number constants for 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}.