It works, Thx

Frans van Leeuwen
M 06-51695390

Op 12-7-2018 om 13:43 schreef Rik van Kekem via Lazarus:
On 12-07-2018 12:51, frans via Lazarus wrote:
I use Lazarus 1.6.4 (temporarely) and lazarus 1.8.4 on Windows 10.
I need to use the LCL version but I can't get it to work properly.
I use the following code:
Compiling the program give me the message Warning include environment "LCL_FULLVERSION" not found in environment. But this is the way I fount on the lazarus forum. What am I doing wrong? And where can I find a list of all Lazarus environment variables?

Where did you find this on the forum?
Because you shouldn't use {$IFDEF } but {$IF } (because you are using an expression)


If you use {$IFDEF it will check if "LCL_FULLVERSION > 1080000" is defined, which it isn't.

Also see

B.T.W. You need to include "uses lclversion" because LCL_FULLVERSION is declared there (otherwise you get a ansistring error message).

Some other constants:


Deze e-mail is gecontroleerd op virussen door AVG.
Lazarus mailing list

Reply via email to