Specifies that local variables must be explicitly declare with the local command.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the explicitVariables to {true | false}
# Examples
set the explicitVariables to true
# Description
Set the explicitVariables property to aid in debug your code.
Setting the explicitVariables property to true can help you debug certain problems with variables.
If the explicitVariables is true, using a local variable without declare it first causes a compile error. This behavior can be useful in tracking down certain subtle problems such as misspelling a variable name.
If the explicitVariables property is true, using a literal string without enclosing it in quotes causes a compile error.
>*Note:* ExplicitVariables only come into effect when script is > compiled, such as in do, value and setting the script. Its value > should be preserved outside of user handlers, only setting it around > syntax to which it applies.
# Tags
# See
- **command:** local - **glossary:** property, compile error, variable, literal string, local variable, declare, debug, command, behavior