setbit(X;Y)
Returns the value of the given 32-bit integer with a particular bit set.
Syntax
setbit(X;Y)
Input
Argument | Type | Description |
---|---|---|
X |
integer | A scalar value or the name of a column
|
Y |
integer | A scalar value or the name of a column
|
Return Value
Returns an integer value corresponding to
X
with its Y
th
least significant bit set to 1.Note: (This is equivalent to
X
OR
2Y
.)If X
and/or Y
is N/A, they are handled according to their
internal representation like any other number.