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

&= (logical AND assignment)

Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Operator   [other Operator type actions]

 Item   [operators of similar scope]

 Assignment   [other Assignment operators]



To make it easier to write rules succinctly, you can use the assignment:

$TheAttribute &= expression; 

…which sets $TheAttribute to be true only if it is currently true AND the expression is also true. Thus, if $TheAttribute is false, the expression is still checked. An attribute that has no value set (or inherited) is evaluated as false.

For example:

$Urgent &= any(children,$Urgent) 

Thus a project is considered urgent if it has been declared to be urgent itself and if any child is urgent.

See also the logical OR assignment.

A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : &= (logical AND assignment)