On Mon, Jul 24, 2006 at 07:25:23PM +0100, Ben Wylie wrote:
> This syntax doesn't seem to work as it hits when it hits one of the last 
> three but not the first one.
> 
> meta DRUGS_RX (__RX + (__SPEN_DING || __PRESCRIPTION || __SAVE))

You want a boolean and (&&).  The way you've done it the "+" looks like a
boolean or (||) because what comes out is something similar to:

0 + (0 || 0 || 1) == 1

whereas

0 && (0 || 0 || 1) == 0

-- 
Randomly Generated Tagline:
"As for SUVs being used as family cars: If a family is too large to
 fit into a fuel efficient automobile it doesn't need an SUV, it needs
 birth control."         - Unknown

Attachment: pgpJK7eUOchNe.pgp
Description: PGP signature

Reply via email to