Function that returns a TRUE value if the number of bits in the high state (1), in the indicated bytes of a variable, is odd.
Syntax |
i32 par_odd (i32 value [, i32 nByte=1]) |
||||||
---|---|---|---|---|---|---|---|
value |
Value to calculate the parity of |
||||||
nByte |
Number of bytes. (optional, default 1) |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
Example of use:
|