2011/10/2 silvioprog <silviop...@gmail.com>:
> 2011/10/2 Marcos Douglas <m...@delfire.net>:
>> Simple, just use .inc in unit files. Do not put logical in .lpr files.
>>
>> Marcos Douglas
>
> Did not work. x(
>
> See demo in attached.

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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to