This is a large global variable that is used extensively by the Livecode World Tools in order to interact with scripts.
It would most likely be better served using an sqlite database as the array has grown too complex and there is a clear need for a flexible range of complex queries.
The gHkeyArray is broken down into: * Global Menus * behaviorArray * handlerArray * keywordArray * objectType * scriptArray
# Global Menus
An array of all Global Menus linked to a numerically linked array of menu items, and the ruggedID of the menu_Controller
# behaviorArray
An array of objects with behaviors linked to metadata about that object
# handlerArray
Also known as hArray - a huge array of all handlers linked to every object they occur in with metadata such as hash and lineNums in script.
# keywordArray
Keywords automatically extracted from (library handlers) referencing the last object they were exported from
# objectType
An automatically cached index of objects tagged using the uRIP metadata convention on script compile
# scriptArray
Metadata about an objects script (without information about dependency calls)
# See also
There are currently 5 active globals in use by the LiveCode environment.