Scalar. Returns a value with all bits set to zero, except the specified bit.
bitflag ( bit )
bit |
An integer indicating which bit to set, starting from 0 as the least-significant bit. |
The function returns an integer.
bitflag( 3 ) returns 8 or 1000 in binary.