SetTo

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
set <targetContainer> to <sourceValue>
Associationscom.livecode.language
Summary

Put a value into a container.

Parameters
NameTypeDescription
targetContainer

A valid target for sourceValue

sourceValue

The value to put into the targetContainer

Description

Assigns the result of evaluating sourceValue to targetContainer. *Note:* It is a checked runtime error for the source value's type to not be compatible with the target expression's type.