delete stack | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | clear stack | ||||||
Summary | Removes a substack from a stack file, or removes a main stack from memory. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Property: cantDelete Message: deleteStack Command: delete file, delete Object: stack Glossary: substack, stack file, main stack, command | ||||||
Description | Use the delete stack command to delete a substack, or to purge a main stack from memory. The delete stack command has different effects, depending on whether the stack is a main stack or a substack. If the stack is a main stack, the delete stack command removes the stack from memory. (Any unsaved changes are lost.) However, it does not remove it from the user's system. To delete a main stack, use the delete file command instead.
| ||||||
Tags | objects |