|
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 Types : Set maths operators | aTbRef Site Map |
Set maths operators |
A range of operators to help use sets.
Unlike their same-named Export codes, these operators cannot use Group objects as the target of the operator. Instead they must explicitly target a named set attribute. Thus, count(child) is not valid - it would be necessary first to make a set of the target's children and then count that set. However, count($MySet) would work.
So, if a set attribute doesn't exist, use collect/collect_if to dynamically build a set.
The new operators are:
| Up: Action Operator Types | |
| Previous: Set creation operators | |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]