>Suppose I told you to look in a supermarket for all products that are a
>fruit and that are yellow.
>
>If you happen to have a banana in your hands, can you decide if it fits the
>selection at first sight or would you have to go through all products again?


That's the kind of thing that bitand() completely solves, but you 
said that it won't work for you. bitand(filecode,usercode) = usercode 
would successfully find a lemon and a banana if the user just 
specified fruit/yellow, but would only find the lemon if the user 
specified fruit/yellow/roundish.



>The user isn't supposed to formulate things like this:
>
>Fetch me a banana, but only if you haven't got a tomato yet. Every
>evaluation stands for itself.

This sounds like what I think you've been asking to do, and would be 
a reason why a single pass test might not work.


So, which is it, are you happy with some that can find the bananas, 
or do you want the user to be able to do the second illustration 
above?

[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!]

Reply via email to