Tinderbox 8 Icon

Designators in actions

Group designators areallowed in attribute references. For example:

$MyList=$Color(children); 

finds a list of the colours ($Color) of each child of this note, and

$MyList=$Color(children).unique; 

finds the same list but without duplicates. N.B. a list can hold duplicate values.

Working with numerical values:

$MyNumber=$Width(children).max; 

will find the maximum width of the container's children.

When the same designator is applied to the attribute $Text

$Text=$Text(children); 

the texts of each child are placed in this note's $Text, separated by paragraph breaks. To append the same child text to existing text:

$Text=$Text+"\n"+$Text(children); 



A Tinderbox Reference File : Actions & Rules : Designators in actions