globalNames | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | globals | ||||||
Summary | Returns a list of declared global variables. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: global, delete variable Function: variableNames, localNames Control Structure: function Glossary: declare, application, return, global | ||||||
Description | Use the globalNames function to determine which globalvariables are available, or to make sure a global variable name has not already been used before declaring it. Global variables are created with the global command. They can be deleted with the delete variable command. All globalvariables that have been declared since the application was started up are included in the globalNames function, except any that have been explictly deleted. | ||||||
Tags | properties |