Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #7585
| From | Ramine <toto@toto.net> |
|---|---|
| Newsgroups | comp.programming |
| Subject | My question about FreePascal... |
| Date | 2017-03-19 14:33 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <oaminh$754$5@dont-email.me> (permalink) |
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 comp.programming | Previous | Next | Find similar | Unroll thread
My question about FreePascal... Ramine <toto@toto.net> - 2017-03-19 14:33 -0400
csiph-web