all right, I still haven't made myself understood. What you just wrote are terms that one could use to make a specific selection. The only dynamic thing user-wise in you coder is the variable 'usercode'.
But this variable can only be used if to allow the user to decide 1 which conditions CAN be TRUE in his selection to select an image 2 which conditions MUST all be TRUE in his selection to select an image And what if he wants to mix the CANs and MUSTs and have more than one or two sets of questions that are logically combined? This is the very point of my question. -----Ursprungliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Colin Holgate Gesendet: Samstag, 1. Juni 2002 02:58 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: <lingo-l> logical terms How about this: if bitand(filecode,userscode) > 0 then somethingmatches if bitand(filecode,userscode) = userscode then everythingmatches [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
