How to enable {$BOOLEVAL ON} for all source files lazarus / 11-Options ---------------------------------------------------------------------- rpetges · 2020-08-03 19:39 Hi, I need to activate full boolean evaluation for all my project files. I can add  {$BOOLEVAL ON} into each single project file, but how can I add the difective in Lazarus so it gets used for all files ? Many thanks. Romain ---------------------------------------------------------------------- PascalDragon · 2020-08-03 19:59 Boolean evaluation can only be changed with the compiler directive, thus you need to use it in each file or put it into an include file and include that in each file. Please note that with $BOOLEVAL ON code like the following will trigger an exception depending on the input values (in this case if SomeObj is Nil): 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 if Assigned(SomeObj) and SomeObj.CheckSomething then ---------------------------------------------------------------------- rpetges · 2020-08-03 21:48 Many thanks for the information.