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,090 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 227:34:17 |
| Calls: | 13,926 |
| Calls today: | 2 |
| Files: | 187,025 |
| D/L today: |
6,425 files (1,755M bytes) |
| Messages: | 2,457,471 |
| Posted today: | 2 |