substacks | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack | ||||||
Summary | Specifies which stacks are associated with a main stack, and saved in the same file. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: file, line Property: substacks, mainStack Command: revert Function: files, stacks, mainStacks Glossary: property, substack, main stack, execution error Object: stack | ||||||
Description | Use the substacks property to organize stacks in files. Each LiveCode file contains either a single main stack, or a main stack and one or more substacks. The substacks property reports on the substacks of a main stack. The substacks of a substack is empty. Attempting to set the substacks property of a substack causes an execution error. Setting the substacks of a main stack to empty removes all the substacks from memory. The next time the main stack is saved, the substacks are removed permanently.
| ||||||
Tags | objects |