FreeSize Property


get the freeSize of <stackname> Applies to stacks
Description: 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: on mouseUp get the freeSize of the stack type it if it > 1024 then compact stack end if end mouseUp 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 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.