|
![]() |
#1 |
Участник
|
I am wondering why you think it is strange. Axapta just executes them in the order, and because '&&' and '||' are basically equal, they get executed like this:
1. B || C returns 'true' 2. 'true' && D returns 'false', because D is false 3. A && 'false' returns false. As a good practice we always are trying to reinforce the expected order of operations with parenteses. |
|