Am I missing something here? I have a declared word variable and byte variable.
Why can't I test bits in the word variable using the byte variable as the pointer?

Count1 being 0-9 in this example. I want to test the bits in turn in positions 0-9 using a loop.

if databyte.Count1 = 1 then

above causes a compile error "Bad variable modifier"