http://qs321.pair.com?node_id=362186


in reply to Re: Checking lots of conditions...ORed and ANDed
in thread Checking lots of conditions...ORed and ANDed

In my case, menus are very dynamic, depend on many factors and can change several times during the day. Consider managing a schedule for few people for few shifts (24x7 network operations center). Checking who is allowed to do what, has been already done. It is one level above this code. ;)