Hi,

I want to set a particular bit of a word, so I am doing it this way:

If channel < 16 then

control1.(channel + 1) = 1

endif

I want to set the (channel + 1)th bit of control1 to 1. The complier does not like this. Do you know how else I can do this?

Thanks