explicitVariables | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | explicitvars | ||||||
Summary | Specifies that local variables must be explicitly declared with the local command. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: local Glossary: property, compile error, variable, literal string, local variable, declare, debug, command, behavior | ||||||
Description | Set the explicitVariables property to aid in debugging 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 declaring 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.
| ||||||
Tags | properties |