This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

compositeFor(nameStr):count


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Property  [other Property type actions]

 Composite  [operators of similar scope]

 Composite  [other Composite operators]

 Baseline

 As at baseline


compositeFor(nameStr):count

returns the Number of notes in the composite containing note nameStr.

This code can also use the 'my' designator to give a shorter form. These are functional equivalents:

$MyNumber = compositeFor(this):count; 

$MyNumber = my:count;