Attribute |= expression

Tinderbox Icon

To make is easier to write rules succinctly, you may use the assignment:

TheAttribute |= expression;

... which sets TheAttribute to true if it is already true, or if the expression is true.

For example:

Urgent |= ^any(child,Urgent)

A project is urgent if it's been declared to be urgent itself, or if any child is urgent


Up: Actions & Rules
Previous: Attribute = data  Next: Attribute &= expression 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox