forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompact.lcdoc
More file actions
42 lines (27 loc) · 878 Bytes
/
compact.lcdoc
File metadata and controls
42 lines (27 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name: compact
Type: command
Syntax: compact <stack>
Summary:
Reclaims unused space within a <stack|stack's> <file> structure.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
compact this stack
Example:
compact stack "Project 1"
Parameters:
stack:
Any stack reference.
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.
References: delete (command), command (glossary), file (keyword),
stack (object)
Tags: file system