target

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
target
Summary

Specifies the text contents of the field which was the target of the message currently being handled.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
answer target
RelatedKeyword: field
Function: target
Glossary: handle, message, keyword, object
Control Structure: function
Description

Use the target keyword to access the contents of the field named in the target function.

The only semantic difference between the target function and the target keyword is that the target keyword is not preceded by the word "the".

If the target object is not a field, the target keyword reports the name of the object, just like the target function.

Tagsobjects