LastCodeunitOf

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the last codeunit of <Target>
Associationscom.livecode.codeunit
Summary

Designates the last codeunit in Target.

Parameters
NameTypeDescription
Target

An expression which evaluates to a string.

Example
variable tVar as String
put "codeunit" into tVar

variable tLast as String
put the last codeunit of tVar into tLast -- tLast contains "r"
Description

Either locates the last codeunit for use as the target container of another operation, or evaluates the last codeunit as the source of another operation.

Note: It is an error if Target is empty.

Tagsstrings