Another idea. Since your list of images is finite (i.e. there can be only one image of each distinct type, such as #FFFFFF), you might simply take the user input and from it, compile a list of all possible 24 bit codes. Then simply convert each item on the list to Hex and load the image. Would that involve too many possibilities to handle efficiently?
Charlie Fiskeaux II Media Designer The Creative Group www.cre8tivegroup.com 859/858-9054x29 ----- Original Message ----- From: "Colin Holgate" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 12:55 PM Subject: Re: <lingo-l> logical terms >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!] [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!]
