[Lazarus] Get LCL revision or version via ifdef

silvioprog silvioprog at gmail.com
Tue Oct 4 12:32:26 CEST 2011


2011/10/2 Marcos Douglas <md at delfire.net>:
>
> Sorry, I understood.
>
> The LCLVersion unit contains constants, see:
> const
>  lcl_major = 0;
>  lcl_minor = 9;
>  lcl_release = 31;
>  lcl_patch = 0;
>  lcl_fullversion = ((lcl_major *  100 + lcl_minor) * 100 +
> lcl_release) * 100 + lcl_patch;
>  lcl_version = '0.9.31';
>
> So, just use them.
>
> See http://www.lazarus.freepascal.org/index.php?topic=7453.0
>
> Marcos Douglas

I don't found the solution in the link above. :/ If I understand it,
the solution would be to use macros?

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
Facebook - <facebook.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
LazWebSolutions - <code.google.com/p/lazwebsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================




More information about the Lazarus mailing list