in reply to Testing for 16 possible combinations with 4 pull-down menus

Are you gaining anything by using binary numbers to describe the states? If you can't simplify lookups or checking with bitwise operations on the states then just use a plain english lookup table -- simplify your code and make it more readable.


-Waswas
  • Comment on Re: Testing for 16 possible combinations with 4 pull-down menus