forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdelete-stack.xml
More file actions
47 lines (47 loc) · 2.55 KB
/
Copy pathdelete-stack.xml
File metadata and controls
47 lines (47 loc) · 2.55 KB
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
42
43
44
45
46
47
<doc>
<legacy_id>2393</legacy_id>
<name>delete stack</name>
<type>command</type>
<syntax>
<example>delete <i>stack</i></example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
<synonym>clear stack</synonym>
</synonyms>
<classification>
<category>Objects & Messages</category>
</classification>
<references>
<command tag="delete">delete Command</command>
<message tag="deleteStack">deleteStack Message</message>
<property tag="cantDelete">cantDelete Property</property>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary>Removes a <glossary tag="substack">substack</glossary> from a <glossary tag="stack file">stack file</glossary>, or removes a <glossary tag="main stack">main stack</glossary> from memory.</summary>
<examples>
<example>delete stack "Expressions"</example>
</examples>
<description>
<p>Use the <b>delete stack</b> <glossary tag="command">command</glossary> to delete a <glossary tag="substack">substack</glossary>, or to purge a <glossary tag="main stack">main stack</glossary> from memory.</p><p/><p><b>Parameters:</b></p><p>The <i>stack</i> is any valid <href tag="reference/object_reference.rev">stack reference</href>.</p><p/><p><b>Comments:</b></p><p>The <b>delete stack</b> <glossary tag="command">command</glossary> has different effects, depending on whether the <i>stack</i> is a <glossary tag="main stack">main stack</glossary> or a <glossary tag="substack">substack</glossary>.</p><p/><p>If the <i>stack</i> is a <glossary tag="main stack">main stack</glossary>, the <b>delete stack</b> <glossary tag="command">command</glossary> removes the <object tag="stack">stack</object> from memory. (Any unsaved changes are lost.) However, it does not remove it from the user's system. To delete a <glossary tag="main stack">main stack</glossary>, use the <command tag="delete file">delete file</command> <glossary tag="command">command</glossary> instead.</p><p/><p><code/><img src="202650"/> <b>Caution!</b><code/> If the <i>stack</i> is a <glossary tag="substack">substack</glossary>, the <b>delete stack</b> <glossary tag="command">command</glossary> deletes the <object tag="stack">stack</object> from memory, which causes it to be deleted permanently the next time its <glossary tag="stack file">stack file</glossary> is saved.</p>
</description>
</doc>