IPB

> $B: Boolean Evaluation Switch
Чат
Форум
Загрузка...
 

Language:
Русский
English

 $B:  Boolean Evaluation Switch


Switches between the two different models of code generation for the AND and OR Boolean operators.

   Syntax:        {$B+} or {$B-}
   Default:       {$B-}
   Type:          Local
   Menu Command:  Options|Compiler|Boolean Evaluation

The $B+ State

In the $B+ state, the compiler generates code for complete boolean expression evaluation.

This means that 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.

The $B- State

In the $B- state, the compiler generates code for short-circuit boolean-expression evaluation.

This means evaluation stops as soon as the result of the entire expression becomes evident.

 
 К началу страницы 
Тэги: $B
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"