Navigation bar
  Start Previous page
 94 of 283 
Next page End 89 90 91 92 93 94 95 96 97 98 99  

85
FlipBits
Type
Function returning Byte
Invocation
FlipBits(arg)
Parameter
Method
Type
Description
arg
ByVal
Byte
The value to be bit-wise reversed.
Discussion
This function reverses the order of the bits in the supplied value and returns the result.  This is useful, for
example, if you want to send data using ShiftOut() but you want the least significant bit to be sent first.
Example
Dim b as Byte
b = &B1011_0110
b = FlipBits(b)
' result is &B0110_1101
Previous page Top Next page