Function that returns a TRUE value if the number of bits in the high state (1), in the indicated bytes of a variable, is even.
Syntax |
i32 par_even (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:
|