[SOLVED] {$I %FPCVERSION%} What does it mean lazarus / 64-FPC development ---------------------------------------------------------------------- BrunoK · 2019-01-14 11:05 I'm trying to figure out what {$I %FPCVERSION%} (like in lazarus ide\AboutFrm line 181) Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   FPCVersionLabel.Caption:= lisFPCVersion+{$I %FPCVERSION%}; the %FPCVERSION% represents and where it comes from. Thanks. ---------------------------------------------------------------------- Ñuño_Martínez · 2019-01-14 12:43 It inserts the version number of the FPC compiler as a string to the expression.  You'll get more information in the documentation. Note that it is different than {$I filename}! ---------------------------------------------------------------------- BrunoK · 2019-01-16 08:43 @Ñuño_Martínez thanks for the first link, I couldn't find it. Let's say solved. I have branched 3.0.4 for some tests to a private 3.0.6 branch. I managed to get most 3.0.4 version return to reply 3.0.6 except that  {$I %FPCVERSION%} that still returns 3.0.4. Will have to dig/hunt a bit more. ---------------------------------------------------------------------- PascalDragon · 2019-01-17 11:49 Simply search for 'FPCVERSION' (including the quotes) in the compiler sources which will lead you to a case-clause that uses the version_string function which in turn uses the version_nr, release_nr and patch_nr constants in unit version of the compiler. ---------------------------------------------------------------------- BrunoK · 2019-01-17 14:02 @PascalDragon Thanks. Indeed it is all there, and is constructed from version_nr+'.'+release_nr+'.'+patch_nr which I had already changed. It seems that I mixed up my versions. Will figure it out.