I can't get this to work, I fixed what I thought where some typo's but not sure how to define this, it doesn't like the quotation marks.

Quote Originally Posted by aratti View Post
The following simple snippet will solve your problem.


Code:
My_Byte = "11000011"

For B0 = 0 to 7

If My_Byte0.[B0] = 1 then DO SOMETHING
Else
DO SOMETHING ELSE
endif

Next B0

Cheers

Al.