This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

| (query logical OR join)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Operator   [other Operator type actions]

 Query   [operators of similar scope]

 Query Boolean   [other Query Boolean operators]

 Baseline

 


The pipe, |, is used in queries and conditional statements as a logical OR join. Thus:

if ($HasStock == true | $Price > 20) {$Badge="ok"} 

The note's $Badge is only set if either the first or the second argument are true.

See also the AND join and conditional statements using multiple arguments.



A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : | (query logical OR join)