Android Question shift Operators

Roberto P.

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

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

thank you very much
 

stevel05

Expert
Licensed User
Longtime User
You want Bit.ShiftLeft etc.

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