FirstCodeunitOf

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

Designates the first codeunit in Target.

Parameters
NameTypeDescription
Target

An expression which evaluates to a string.

Example
variable tVar as String
put "codeunit" into tVar

variable tFirst as String
put the last codeunit of tVar into tFirst -- tFirst contains "c"
Description

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

Note: It is an error if Target is empty.

Tagsstrings