Language Reference Guide : System Classes : IntegerObject Class : BitFlip Method
 
Share this page          
BitFlip Method
The BitFlip method returns the value of the IntegerObject with the nth bit flipped (switched).
This method has the following syntax:
integer8 = IntegerObject.BitFlip(n = smallint);
This method has the following parameter:
n
(Required) Specifies the index of the bit to be flipped (0 <= n <= 63). Bit indexing begins at 0, not 1. Bit 0 is the least significant bit.