Баг с приоритетом булевых операций.

 
   if (true && true || true && false)
        Print("Correct");
    else
        Print("Incorrect precedence!");


2005.10.31 19:20:02 test EURJPY,H1: removed
2005.10.31 19:20:02 test EURJPY,H1: Incorrect precedence!
2005.10.31 19:20:02 test EURJPY,H1: loaded successfully

 
1. true && true => true
2. true || true => true
3. true && false => false
по-моему верно отработка по else
 
Irtron прав. MT неправ.
 
логические операции - в одном приоритете и отрабатывают слева направо. для установки приоритетов вычисления используйте скобки
 
А как тогда HELP понимать? AND и OR указаны в разных группах, и AND стоит выше.

Precedence rules
Each group of operations in the table has the same priority. The higher the priority is, the higher the position of the group in the table is.
The execution order determines the grouping of operations and operands.
<...skipped...>
-------------------------------------------------------------
&& Logical AND From left to right
-------------------------------------------------------------
|| Logical OR From left to right
-------------------------------------------------------------