Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-12

$B and $BOOLEVAL

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vojtěch Čihák
to Florian Klämpfl

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.
______________________________________________________________

Show quoted text 5 lines
Od: "Florian Klämpfl" Komu: "FPC-Pascal users discussions" Datum: 13.12.2015 20:11 Předmět: Re: [fpc-pascal] $B and $BOOLEVAL
Vojtěch Čihák wrote
  Hi,   when I use {$B} I get " Warning: Illegal compiler directive "$B"' ".

Of course. You omitted on/off +/-