compact

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
compact <stack>
Summary

Reclaims unused space within a stack's file structure.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
stack

Any stack reference.

Example
compact this stack
compact stack "Project 1"
RelatedKeyword: 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.

Tagsfile system