Please enable JavaScript to view this site.

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:

Value

Description

> 0

Number of bits at 1 (if odd)

0

Otherwise

Validity

Rule, Task

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC