Hi all
i have a byte array
bArrRGBData VAR byte[4]

i want to first check some individual bits across the entire array and then depending on their state set some other bits across the entire array individually depending on the outcome of the IF tests,
but i can't figure out the syntax

when i wrote
bArrRGBData[0].1
it was rejected
so i tried
bArrRGBData.1
and PBP liked ok that but when i wrote
bArrRGBData.8
PBP was not happy either

to state the overall goal (as there may be another way to skin this cat) there are 4 bytes in the array holding some pre-existing values,
the byte is constructed of bit pairs
i want to set a few bits in each array byte depending on the values of the bits in the bit pairs

i realize i could copy to a byte variable then examine the bits there, then set the bits in that copy and then copy back to the array but that seems not only like a lot of work but a lot of code,
any tips much appreciated as it seems there should be a better way