This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

The 'dot' operators

Appearing initially in v5.7.0, 'dot' operators:

There are a range of such operators, mainly properties that attach to just Color-type (Color.red) or Date-type (Date.day) attributes, though the majority relate to test-type data (String/.List/Set). In some cases, the operator applies to more than one attribute data type, for example String, List and Set.

In aTbRef listings, dot operators will be referred to with the data type before the dot, e.g Color.blue, so that inline dots in text don't get misread as punctuation. In practice, Color.blue would be used with a Color-type attribute:

$MyColor.red = "#ff" 

A Date.minute would attach to a date attribute:

$MyNumber = $MyDate.minute 

With text-based dot operators a wider range of use is possible:

$MyNumber = $MyString.size() 

$MyNumber = "Firewood, iron-ware, and cheap tin trays.".size() 

$MyNumber = $MyList.size() 

$MyNumber = $MySet.size() 

$MyNumber = "Euryalus;Galatea;Hermione".size() 

Dot operators can be 'chained' to connect a series of tasks.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Actions & Rules : The 'dot' operators