I realized I was a "bit" to fast on the keyboard. What I am after is a function to easily get a specific bit of a component in QCode, or to set a specific bit of a component in QCode (or statement list).
GetBitof(component, bit number)
SetBitOf(component, bit number)
You can do this with the help of the bitwise logic.
Bit6:= component shr(5) band(1) //getting Bit 6 valueNew value:= 1 shl(5) bor(component) //Setting Bit 6 to 1
Customer support service by UserEcho