 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
freeSizethe freeSize of stack
The freeSize property returns the amount of free space, in bytes, in the specified stack. (Free space is created in a stack each time you add or delete an object or graphics.) To set the freeSize property to 0, choose Compact Stack from the File menu or use the command doMenu "Compact Stack"
from a handler or the Message box. Examplesget the freeSize of this stack if it > 10240 then doMenu "Compact Stack"
Demo Scripton checkFreeSize get the freeSize of this stack answer "The freeSize of this stack is" && it div 1024 & "K." end checkFreeSize
Related Topics Placeholders
stackAn expression that identifies a stack by its name, using one of the following forms: this stack stack text -- name or path name
For example: stack "Home" stack "Simonides:School:References" this stack stack "HD:Stacks:Addresses alias
When used inside a stack script: me When a stack receives a message: [the] target
HyperTalk Reference
|