HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.


the heapSpace
Value returned: a number equal to the amount of working memory HyperCard has left (the number of bytes remaining in HyperCard’s application heap)

The memory that HyperCard can use is divided into two parts—the heap and the stack. StackSpace returns the amount of memory that’s available in the stack portion. HeapSpace returns the amount available in the heap portion.

The available memory determines whether the user can use the Paint tools, whether HyperCard can open a stack in a new window, and other performance-related factors.


get the heapSpace()
if it < 100 then ...

Related Topics

« foundText | HyperTalk Reference | length »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View