localNames | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns a list of all local variables. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: delete variable, local Function: globalNames, value Control Structure: function Glossary: handler, declare, command, return, local variable | ||||||
Description | Use the localNames function to determine which localvariables are available to the current handler, or to make sure a local variable name has not already been used before declaring it. Local variables are created either implicitly, by putting a value into them, or explicitly with the local command. They can be deleted with the delete variable command. |