Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!csn!news From: wilde@piper.colorado.edu (Nick Wilde) Newsgroups: comp.sys.mac.hypercard Subject: Re: mark cards command (Was: Need help with search algorithm) Message-ID: <1991Jan26.184425.8515@csn.org> Date: 26 Jan 91 18:44:25 GMT References: <9101252050.AA03068@taurus.cs.nps.navy.mil> <48508@apple.Apple.COM> Sender: news@csn.org (news) Organization: University of Colorado, Boulder Lines: 25 Nntp-Posting-Host: piper.colorado.edu In article <48508@apple.Apple.COM> jdevoto@Apple.COM (Jeanne A. E. DeVoto) writes: >I'll assume that you have HyperCard 2.0. In 2.0, you can mark all [ lot of interesting stuff about marking card by finding x in field y] >You can make the search criterion more complex, at the cost of some >speed, by using "mark cards where" instead of "mark cards by finding"; >for instance, > > mark cards where ("x" is in field 1) and ("y" is not in field 2) >-- I was having a little trouble with this last night. What I was trying to do was mark all the cards of a certain background. I tried the obvious stuff (mark cards where background is "foo"), and lots of variants of that, but really coudn't get the mark command to deal with an expression involving the background in any way. What I finally ended up doing was searching for "not empty" in a particular field that I know is on the background... i.e. (mark cards where bkgnd field "foofield" is not empty). Is there a better or more direct approach I'm missing ? Thanx -Nick