do | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Executes a list of statements. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android, web | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: message box Command: debugDo, breakpoint, local, call, do as alternateLanguage Function: result Glossary: handler, execute, statement, compile, command | ||||||
Description | Use the do command to execute statements in a container, or to execute a statement that consists partly of a literal string and partly of a container or the return value from a function. Using the do command is slower than directly executing the commands, because each statement must be compiled every time the do command is executed. When the To see how to create a numbered set of variables see the dictionary entry for the local command. You can use the do as alternateLanguage variant of the do command to evaluate a statementList written in a non-LiveCode programming language. |