{"identifier":17907,"topic":"System messages","name":"closeStack","text":"<code><pre>closeStack\n<\/pre><\/code> Handler: <br><br>\n\n <code><pre>on closeStack\n   <i>statements<\/i>\nend closeStack\n<\/pre><\/code>\nHyperCard sends the<code> closeStack <\/code>message to the current card when a user (or script) opens a different stack in the current window, closes the current window, deletes the stack, suspends HyperCard to launch an application, or quits HyperCard. <br>\n<br>\nNote: If you have more than one stack open at a time, HyperCard sends<code> suspendStack,<\/code> not<code> closeStack<\/code>, when the stack becomes inactive. <br>\n","related":{"19234":"deleteStack","4312":"Message sending orders","22569":"newStack","23747":"openStack","24386":"resumeStack","25274":"suspendStack","6031":"Where messages are sent initially"},"examples":"","demo":"","debug":{"9":["closeStack\r\rHandler:"],"10":["Note: If you have mo"]}}