This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : &= (logical AND)||aTbRef Site Map|
&= (logical AND)
|Operator Scope of Action:||Item|
To make is 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.
$Urgent &= any(child,$Urgent)
Thus a project is considered urgent if it's been declared to be urgent itself and if any child is urgent.
See also the logical OR assignment.
|Up: Item-based operators|
|Previous: eval([item],expression)||Next: * (multiplication)|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]