get the freeSize of <stackname> Applies to stacks
NOT AVAILABLE IN THE PLAYER
The freeSize property returns in bytes the amount of disk space that is assigned to the indicated stack but not in use. Compacting the stack recovers the amount of memory shown by freeSize.
Create a button with the following script:
get the freeSize of the stack type it
if it > 1024 then
compact stack end if
Clicking on this button puts the freeSize of the current stack into the Message Box and compacts the stack if more that 1024 bytes are free.
This text has been mechanically extracted from the Oracle Media Objects 188.8.131.52 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.