globalNames

returns a list of declare global.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the globalNames

# Examples

the globalNames

if "myGlob" is not among the items of the globalNames then global myGlob

# Description

Use the globalNames function to determine which global are available, or to make sure a global name has not already been used before declare it.

Global variables are created with the global command. They can be deleted with the delete variable command. All global that have been declare since the application was started up are included in the globalNames function, except any that have been explictly deleted.

# Tags

# See

- **command:** global, delete variable - **function:** variableNames, localNames - **control structure:** function - **glossary:** declare, application, return, global