At 8:41 PM -0700 6/28/2001, Rosli Hassan wrote:
>   find "cat" and "lion" in field "theText" of card i
>   find "cat" or "lion" in field "theText" of card i
>   find "cat" not lion" in field "theText" of card i
>is something like this possible...

No time right now to give you anything complete, but check out the mark
command for this. Here's a general idea:

"and":
   unmark all cards
   mark cards by finding "cat" in field "theText"
   unmark cards where "lion" is not in field "theText"
   -- remaining marked cards have both lion and cat

"or"
  unmark all cards
  mark cards by finding "cat" in field "theText"
  mark cards by finding "lion" in field "theText
  -- marked cards now have either one or the other

"not"
  unmark all cards
  mark cards by finding "cat" in theText
  unmark cards by finding "lion" in theText
  -- marked cards are those with cat but not lion

Then you can go through and get the names of the marked cards for your
list. Make sure to "unmark all cards" first whenever you do this, since the
mark property is persistent.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to