<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks, I was not clear.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">{$B+} and {$B-} works but {$B ON} and {$B OFF} does not. So the docs is wrong (or there's bug).</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">{$BOOLEVAL } works with +/-/ON/OFF.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Compiler is recently released 3.0.0.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: "Florian Klämpfl" <florian@freepascal.org><br />
> Komu: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org><br />
> Datum: 13.12.2015 20:11<br />
> Předmět: Re: [fpc-pascal] $B and $BOOLEVAL<br />
></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Am 13.12.2015 um 19:17 schrieb Vojtěch Čihák:<br />
> <br />
> Hi,<br />
> <br />
> when I use {$B} I get " Warning: Illegal compiler directive "$B"' ". <br />
<br />
Of course. You omitted on/off +/-<br />
<br />
_______________________________________________<br />
fpc-pascal maillist - fpc-pascal@lists.freepascal.org<br />
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></p>