returns a list of all local variables.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
the localNames
# Examples
the localNames
repeat with x = 1 to the number of items of line 2 of the localNames
# Description
Use the localNames function to determine which local variables are available to the current handler, or to make sure a local variable name has not already been used before declare 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.
# Tags
# See
- **command:** delete variable, local - **function:** globalNames, value - **control structure:** function - **glossary:** handler, declare, command, return, local variable