On Thu, 22 Sep 2016 22:25:23 +0100
Denis Kozlov <dez...@gmail.com> wrote:

> On 22/09/2016 22:02, Mattias Gaertner wrote:
> > See unit lclversion.  
> 
> Thanks! Somehow I just couldn't find it.
> 
> Is it theoretically possible to implement a compile time define for 
> Lazarus version?

You can use it at compile time:

uses lclversion;
{$IF lcl_minor=7}
...

It is just that codetools do not support such constants. The compiler
does.

Mattias
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to