Hi,
Don't use a bit-array, use a BYTE-array instead.
To access an individual bit in the above array you can use the formatCode:Line1 VAR BYTE [8] ArrayWrite Line1, [%10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010]/Henrik.Code:myBit VAR bit i VAR BYTE myBit = Line1.0[i] ' Where i of course is the index, or bit number in the array.
Bookmarks