I need help understanding what this expression is doing. specifically the (&8192) portion. This is in a visibility animation on a label in RSView SE.
I understand it up until ({#4\ConfigWord} & 8192) but I don't use bitwise operators enough to understand what its doing.
Can anyone help me understand this?
ParmType is a Integer (0-INT, 1-BOOL, 2-REAL, 3-STRING, 4-LIST)
ConfigWord is a Integer
ParmTyp is currently 2 and ConfigWord is 21634 and the label is NOT Visible
if ({#4\ParmType}==2) AND ({#4\ConfigWord} & 8192) then
1
else
0
I understand it up until ({#4\ConfigWord} & 8192) but I don't use bitwise operators enough to understand what its doing.
Can anyone help me understand this?
ParmType is a Integer (0-INT, 1-BOOL, 2-REAL, 3-STRING, 4-LIST)
ConfigWord is a Integer
ParmTyp is currently 2 and ConfigWord is 21634 and the label is NOT Visible
if ({#4\ParmType}==2) AND ({#4\ConfigWord} & 8192) then
1
else
0