102 of 307
ZBasic System Library 92 ZX Microcontroller Family 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