This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Agent Queries : Multiple Query Arguments |
Multiple Query Arguments |
A query may use more than one argument using logical joins.
( A & B )
Reads: if query A AND query B are true, then this compound query is true.
Contrast this with the &= operator (below).
( A &= B )
Reads: result is true if query A is currently true and, if so, if query B is also true.
Thus, if query A is false, query B is not checked and the overall result is false. Thus in some cases only query A is evaluated.
By comparison, with a ( A & B ) query both query A and query B are are always evaluated.
[Introduced in v2.4.0]
( A | B )
Reads: if query A OR query B is true, then this compound query is true.
Contrast this with the |= operator (below).
( A |= B )
Reads: result is true if query A is currently true or, if so if query B is true.
Thus, if query A is false, query B is not checked and the overall result is false. Thus in some cases only query A is evaluated.
By comparison, with a ( A | B ) query both query A and query B are are always evaluated.
[Introduced in v2.4.0]
(A | B) & ( C | ( D | E ) )
Reads: if (query A OR query B is true) AND (query C OR (either query D OR query E are true)), then this compound query is true.
Up: Agent Queries | |
Previous: Special Query Arguments | Next: Controlling Agent Update Cycle Time |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]