[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    RE: OR NOT Logic
From:       <Matthew.van.Eerde () hbinc ! com>
Date:       2006-05-02 23:13:16
Message-ID: 61192FA29C719B469A2B13E57DEDF75B0545709E () mail ! hbinc ! com
[Download RAW message or body]

Dan wrote:
> Wow,
> 
> I must be confusing this with any/all is/isn't.  In various software
> (mail scripts, iTunes smart playlists, etc):
> 
> 	any IS IS IS IS
> 
> 	equals
> 
> 	all NOT NOT NOT NOT

Exactly backwards.

any(@criteria) = not all(not @criteria)

Consider

Lifeboat1-has-a-seat OR
Lifeboat2-has-a-seat OR
...
LifeboatN-has-a-seat

vs.

Lifeboat1-is-full AND
Lifeboat2-is-full AND
...
LifeboatN-is-full

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic