In POET's queries, conditions are grouped into expressions using boolean operators. PtBoolOp is the type used to represent these operators. The following boolean operators are available:
PtAND | and |
PtOR | or |
PtXOR | exclusive or |
PtNOT | not |
PtNAND | nand |
PtNOR | nor |
PtNXOR | nxor |
Here is a truth table which may help you remember how some of the more obscure Boolean operators work:
A | B | AND | OR | XOR | NAND | NOR | NXOR |
T | T | T | T | F | F | F | T |
T | F | F | T | T | T | F | F |
F | T | F | T | T | T | F | F |
F | F | F | F | F | T | T | T |
Each operation is a function of the values of A and B. For instance, AND is true whenever both A and B are true. The column marked AND lists the values of A AND B using the values of A and B shown in each row.
Copyright (c) 1996 POET Software, Inc. All rights reserved. Reproduction in whole or in part in any form or medium without the express permission of POET Software, Inc. is prohibited.