msg

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
msg
Synonymsmsg
Summary

A special global variable that is used with the put command when no other destination container is specified.

Introduced1.0
OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile
Example
-- set msg to foobar
put "foobar"
put "baz" after msg
RelatedKeyword: stdout
Message: msgChanged
Command: put
Glossary: keyword, global, variable, message
Description

When msg is modified by a command the msgChanged message is sent to the object that modified it. If the msgChanged message is unhandled or passed then the value of msg will be written to the system log or in no ui mode (command line) to stdout.

In LiveCode IDE msg and the msgChanged message are used to implement the message box.