Показать сообщение отдельно
Старый 27.07.2006, 10:35   #4  
Ser_imported is offline
Ser_imported
Участник
 
5 / 10 (1) +
Регистрация: 20.11.2003
к сожалению, это так..
Microsoft Axapta Developer's Guide \ Operators and Expressions \ Operator precedence

Цитата:
logical operators (AND, OR)


&& and ||
In X++, && (logical AND) and || (logical OR) have the same precedence and are evaluated from left to right.

This means that

0&&0||1 == 1 while

1||0&&0 == 0