There are currently 5 active globals in use by the LiveCode environment.
These are: * gHkeyArray * gLibrarySetArray * gPrefs_Array * gTemp_ActiveMenuArray * gOPN
The aim is to combine these arrays into a single file that is stored at the top-level of the project folder and behaves in a similar way to plist.info on macOS.
These should probably be rationalised into one for clarity, and ease of removal. Let's call the new array we move over to: gLiveCodeWorld. But that is for later...
# Related * model_ProjectFiles * model_ProjectArray
--> Project | Names - function project_GetCurrentName global gLibrarySet_Array put gLibrarySet_Array ["metadata"]["library_SetName"] into projectName if projectName is empty then put "Default" into projectName end if return projectName end project_GetCurrentName command project_SetCurrentName pSetName global gLibrarySet_Array if pSetName is empty then put "Default" into pSetName put pSetName into gLibrarySet_Array ["metadata"]["library_SetName"] end project_SetCurrentName