BitTest


Compares two numbers and returns a number with the bits that both have. Syntax:

flags=BitTest(flag1, flag2);