Previous: $AMD: AMD 3DNow! Assembler Instructions Switch To the Table of Content Next: $C: Assert Directives Switch

- 3.2.4 -
Compiler Directives
Switch and Parameter Directives

$B: Boolean Evaluation Switch

Targets: MS-DOS, OS/2, Win32


Compiler directives

Switches on/off the two different models of code generation for the AND and OR Boolean operators.

Syntax:
  {$B+} or {$B-}
Default:
  {$B-}
Remarks:
If {$B+} defined, the compiler generates code for complete boolean expression evaluation. I.e. every operand of a boolean expression built from the AND and OR operators is guaranteed to be evaluated, even when the result of the entire expression is already known.

If {$B-} defined, the compiler generates code for short-circuit boolean-expression evaluation. I.e. evaluation stops as soon as the result of the entire expression becomes evident.


Previous: $AMD: AMD 3DNow! Assembler Instructions Switch To the Table of Content Next: $C: Assert Directives Switch
$AMD: AMD 3DNow! Assembler Instructions Switch Table of Content $C: Assert Directives Switch

- 3.2.4 -