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,114 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492516:04:21 |
| Calls: | 14,267 |
| Calls today: | 3 |
| Files: | 186,321 |
| D/L today: |
27,608 files (9,008M bytes) |
| Messages: | 2,518,529 |