Quote:
Originally Posted by ProIcons
(Operation1 && Operation2) | True && False = Does Not pass
(Operation1 && Operation2) | False && True = Does Not Pass
(Operation1 && Operation2) | False && False = Does Not Pass
(Operation1 && Operation2) | True && True = Pass.
(Operation1 || Operation2) | True || False = Pass
(Operation1 || Operation2) | False || True = Pass
(Operation1 || Operation2) | False || False = Does Not Pass
(Operation1 || Operation2) | True || True = Pass.
|
It is not his question.
Fysiks is right, on a && check, if 1st check is false, other ones are not checked, on a || check, if 1st condition is true, other ones are not checked.
That's why it's better to put fast checks (vars checks) before checks that imply natives calls or lot of compute.
__________________