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);