last("item"[,N])

Tinderbox Icon


Operator Type:   Function
Operator Scope of Action:   Item
Operator Purpose:   Boolean (query)

last("item"[,N])

Returns true if the current note is among the last N children of item. If N is missing, a value of 1 is assumed. The item parameter must be quoted. Both arguments are evaluated and can be a literal string/number, an atribute value or an action code expression evaluating to that same.

In the query creation pop-ups of agent and Find dialogs this function is listed as "last inside".

This replaces the legacy #last query operator. last() also has a logical opposite in first().


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

Up: Item-based operators

A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : last("item"[,N])

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