Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #7585 > unrolled thread

My question about FreePascal...

Started byRamine <toto@toto.net>
First post2017-03-19 14:33 -0400
Last post2017-03-19 14:33 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.programming


Contents

  My question about FreePascal... Ramine <toto@toto.net> - 2017-03-19 14:33 -0400

#7585 — My question about FreePascal...

FromRamine <toto@toto.net>
Date2017-03-19 14:33 -0400
SubjectMy 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.

[toc] | [standalone]


Back to top | Article view | comp.programming


csiph-web