Topic: DMD0199 Math Logical AND Operator |
||||||||||||||||||
|
||||||||||||||||||
The Math Logical AND operator ( && ) indicates whether both operands are TRUE. A discrete operand is considered TRUE if it is ON; a numeric operand is considered TRUE if its value is non-zero.
The operands can be any mix of signed integers, unsigned integers, real (floating point) numbers or discrete values. They can be any numeric or discrete memory location, or any numeric or discrete structure member.
Traditional math precedence rules are used to solve the math expression. The use of parentheses to remove any ambiguity in the processing order is encouraged.
Refer to the examples below:
|
||||||||||||||||||
|
||||||||||||||||||
See Also:
Logical AND
|
||||||||||||||||||
|
||||||||||||||||||
Related Topics:
|
||||||||||||||||||
|