Thanks, I was not clear.
{$B+} and {$B-} works but {$B ON} and {$B OFF} does not. So the docs is wrong
(or there's bug).
{$BOOLEVAL } works with +/-/ON/OFF.
Compiler is recently released 3.0.0.
__
Od: "Florian Klämpfl"
Komu: "FPC-Pas
Am 13.12.2015 um 19:17 schrieb Vojtěch Čihák:
>
> Hi,
>
> when I use {$B} I get " Warning: Illegal compiler directive "$B"' ".
Of course. You omitted on/off +/-
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
Hi,
when I use {$B} I get " Warning: Illegal compiler directive "$B"' ". When I use
$BOOLEVAL everything is OK.
It does not correspond with docs:
http://www.freepascal.org/docs-html/3.0.0/prog/progsu4.html
Should I report?
V.
___
fpc-pascal mailli
On Fr, 2015-12-11 at 17:15 -0200, luciano de souza wrote:
> Hello all,
>
> I want to use a DLL writen in Pascal to provide functions for a Excel VBA
> code:
>
> The example code of my DLL is:
> library CE;
> {$mode objfpc}
>
> uses
> Sysutils;
>
> function level(x1, x2: integer): integer; cdec