Category: Arithmetics
Since engine version: 1.0 OC
GetBit
Description
Returns the value of the bit_number'th bit.
Syntax
bool GetBit(int old_value, int bit_number);
Parameters
- old_value:
- Old value of the bit masc
- bit_number:
- The requested bit.