Optimization switch lazarus / 62-General ---------------------------------------------------------------------- dseligo · 2022-10-02 13:00 Is compiler switch 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 {$O-} same as 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 {$OPTIMIZATION OFF}? Documentation here doesn't mention it: https://www.freepascal.org/docs- html/prog/progsu58.html#x65-640001.2.58 If it is, can it take all the values described in documentation? ---------------------------------------------------------------------- Thaddy · 2022-10-02 13:15 Yes. Even a couple more. Most should only be of interest to highly capable programmers, though: you need some knowledge how optimization theory works... ---------------------------------------------------------------------- ASerge · 2022-10-02 17:18 Quote from: dseligo on October 02, 2022, 03:00:46 pmIf it is, can it take all the values described in documentation? From Introduction: For long switches, the + or - character to switch the option on or off, may be replaced by the ON or OFF keywords. Thus {$I+} is equivalent to {$IOCHECKS ON} or {$IOCHECKS +} and {$C-} is equivalent to {$ASSERTIONS OFF} or {$ASSERTIONS -}