Logical Operators

Logical operations AND, OR, NOT apply to elements in any arguments list. For example, we may want to look for wires which status is 'preliminary' and its color is 'orange' (logical AND), or we may want to find wires that are either 'preliminary' or 'orange' (logical OR').

AND is assumed if no other operator is present, meaning that arguments separated just by white spaces are and-ed together. For example,

--> wire AES blue

means objects wire that are both color 'blue' and signal type AES.

The OR operator is denoted with a comma. For example,

--> wire AES, blue

will return all wires that are either color blue or carry AES signals.

The NOT operator is denoted by the keyword 'not' preceding the word. For example,

--> wire AES not orange

means any wire carrying AES signal which color is any but 'orange'.

Logical operators can also appear preceding JOINs in which case they will affect the whole right hand EXPRESSION.

Examples:

--> wire AES not at RK-27

will return all AES wires placed elsewhere except in RK-27.

--> wire AES , at RK-27

will return all AES wires as well as wires of any kind located in RK-27,

--> device frame not with VDA at RK-27 obsolete

will return all frame devices except those marked as obsolete and containing VDA cards.