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.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,138 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 12:31:47 |
| Calls: | 14,617 |
| Calls today: | 3 |
| Files: | 186,485 |
| D/L today: |
15,754 files (5,315M bytes) |
| Messages: | 2,581,647 |