Subj : I have a question about FreePascal.. To : All From : Toto@toto.net Date : Sun Mar 19 2017 12:31 pm From: Ramine Subject: I have a question about FreePascal.. Hello, I want to port this function from Delphi to FreePascal, the {$IfOpt O+} doen't seem to work in FreePascal: function CompilerOptimizationS: String; begin Result:= 'Compiler optimization is ' + {$IfOpt O+} 'enabled' {$Else} 'disabled' {$EndIf} end; Thank you, Amine Moulay Ramdane. --- ViaMAIL!/WC v2.00 * Origin: Neptune's Lair II þ Olive Branch MS þ winserver.org:232 (1:261/20) .