compact | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Keyword: file Command: delete Object: stack Glossary: command | ||||||
Description | When you cut or delete a card, some free space is left within the stack. This empty space is reclaimed when you choose File menu. Use the compact command to reclaim this empty space without having to save the stack. This command is especially useful when a handler performs multiple rearrangements of cards without saving the stack. The "Save" menu item in the File menu automatically compacts the stack. However, the save command does not do so. | ||||||
Tags | file system |