[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Advanced logical operators?
From: |
forkandwait |
Subject: |
Advanced logical operators? |
Date: |
Sun, 21 Feb 2010 18:28:12 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi all,
Are there any advanced logical operators, especially for the effect of "in" and
"between"?
I would like to write the following
iages = find (ages == 0 | ages == 1 | (ages >=20 & ages <=30) | ages == 65);
as
iages = find (ages INOP [0 1 65] | ages BETWEENOP [20 30])
or some such.
Advice? Maybe I am out of luck? Maybe I shouldn't have such a syntactic sweet
tooth?...
- Advanced logical operators?,
forkandwait <=