^sectionNumber( item )^

Tinderbox Icon


Code Type:   Data Property
Code Scope of Action:   item

^sectionNumber( item )^

The hierarchical number of the item (note) based on the present hierarchy and outline sort order (i.e. it changes if the source Tinderbox file layout is altered); a number such as 1.3.2 is the second grandchild of the third child of the first top level note. It is the $SiblingOrder number of each ancestor joined by periods.

If item is omitted, e.g. as ^sectionNumber^, the number exported is that of the current note and is equivalent to ^sectionNumber(this)^

If trying to do calculations based on this data, bear in mind that adornments, although not shown outside Map view, number as the last sibling in the level on whose Map they appear.

The ^sectionNumber^ of this page's source note is: 1.19.2.6.4

Or use ^value(format(collect(ancestor,$SiblingOrder),".")+"."+$SiblingOrder)^: 6.2.19.1.4


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

Up: Data Property

A Tinderbox Reference File : Export Codes : Export Code Types : Data Property : ^sectionNumber( item )^

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox