mainStacks

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the mainStacks
mainStacks()
Summary

Returns a list of the main stacks that are loaded into memory.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the mainStacks
repeat while myStack is among the lines of the mainStacks
Values
NameTypeDescription
return

The mainStacks function returns a list with the short name property of each main stack, one stack per line.

RelatedProperty: defaultStack, substacks, mainStack, stackFiles, name
Message: reloadStack
Keyword: line
Object: stack
Function: stacks, openStacks, revLoadedStacks, topStack
Glossary: property, main stack, return, loaded into memory
Control Structure: function
Description

Use the mainStacks function to find out which mainstacks are currently available.

Stacks that have not yet been saved are included in the list.

The list includes stacks that are part of the LiveCode development environment (such as the message box and menu bar).

Tagsobjects