Quote Originally Posted by bearpawz

My_Variable = %11110101 ‘I want the upper four bits
My_Variable = My_Variabel >> 4 ‘Shift left 4 places, shifting in zeros… should now be %00001111

Is that correct?
Yup! That's right!