This version is out of date, covering development from v9.0.0 to v9.3.0. 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


The designator lastChild refers to the last immediate child of the current note. For example:

                   I. A note

                                    Ia. Another Note

                                    Ib. Yet Another Note

                   II. Some Note

                                    IIc. Subsidiary stuff

                   III. Different stuff

                   IV. More Stuff

The lastChild of I is Ib. The lastChild of II is IIc. III has no lastChild.

The logical opposite of lastChild, i.e. the first child, is child [sic].

Using the optional child[N] notation, the equivalent of lastChild is child[-1]