Android Question shift Operators

Roberto P.

Well-Known Member
Licensed User
sorry,
as you will get the following features with B4A

(Byte) (height | (width<< 4))

thank you very much
 

stevel05

Expert
Licensed User
You want Bit.ShiftLeft etc.

B4X:
Dim B As byte = Bit.Or(height,Bit.ShiftLeft(width,4))
 
Top