BitTest
Compares two flags and returns the flags that both have. Returns 0 if the flags have no common values. Syntax:
flags
=
BitTest(flag1, flag2);
Related:
BitClear()
BitSet()
Bitwise Verbs