No. The question as to whether one picture fits into a selection or not can be answered with the one code that goes with the picture. Of course you have to search in the way that you have to go through all of your pictures. But only once.
If you still don't agree, you must have another comprehension of the whole thing. 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? All request that one might formulate relate to the information given in the code of the picture. 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. Michael -----Ursprungliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Howdy-Tzi Gesendet: Montag, 3. Juni 2002 17:20 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: AW: <lingo-l> logical terms At 03:48 +0200 06/01/2002, Michael von Aichberger wrote: >It's more like: > >"give me that particular picture if it has either a cat or a dog in it and >is yellow" > >I don't see why I should run through all files with the one question and >then through all the files again with the other question. > >The program should be able to make its decision right away. But the only way it can do that is by searching. Even if you hard-code all the possible options in the universe into your program, it will still, on some level or another, have to do some and/or/not searching. It's unavoidable. -- Warren Ockrassa | http://www.nightwares.com/ Director help | Free files | Sample chapters | Freelance | Consulting Author | Director 8.5 Shockwave Studio: A Beginner's Guide Published by Osborne/McGraw-Hill http://shop.osborne.com/cgi-bin/osborne/0072195622.html [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!]