last

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
last
Summary

Specifies the last member of a set of objects or the last chunk of a string.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put the ID of last card into tStoppingPoint
put the last line of it after field "Answers"
RelatedKeyword: seventh, previous, home, ninth, string
Function: number
Glossary: object, keyword, property, chunk expression, chunk
Description

The last keyword can be used to specify any object whose number property is equal to the number of objects of that type. It can also be used to designate the last chunk in a chunk expression.

The last control is the topmost control on a card. The last button is the topmost button, and similarly for other types of controls.

The word the is optional when using the last keyword.

A reference to the last of a string, with no chunk type specified, yields the entire string.

Tagstext processing