bitset
bitset |
Purpose
Synopsis
function bitset(i:integer, j:integer):integer
Arguments
i
|
Integer to be set
|
j
|
Value to set
|
Return value
Bitwise OR of the operands.
Example
In the following,
i takes the value 13,
j takes the value 141, and
k takes the value 15:
i:= bitset(12, 5) j:= bitset(13, 128) k:= bitset(13, 10)
Further information
This function computes the bitwise OR of its operands.
Related topics