Topic: DMD0246 Math Logical OR Operator |
||||||||||||||||||
|
||||||||||||||||||
The Math Logical OR operator ( || ) indicates whether either operands is 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 OR
|
||||||||||||||||||
|
||||||||||||||||||
Related Topics:
|
||||||||||||||||||
|