Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #7585 > unrolled thread
| Started by | Ramine <toto@toto.net> |
|---|---|
| First post | 2017-03-19 14:33 -0400 |
| Last post | 2017-03-19 14:33 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.programming
My question about FreePascal... Ramine <toto@toto.net> - 2017-03-19 14:33 -0400
| From | Ramine <toto@toto.net> |
|---|---|
| Date | 2017-03-19 14:33 -0400 |
| Subject | My question about FreePascal... |
| Message-ID | <oaminh$754$5@dont-email.me> |
Hello....
I want to port this function from Delphi to FreePascal,
the {$IfOpt O+} doesn'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.
Back to top | Article view | comp.programming
csiph-web