Home THE HYPERCARD CENTER

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.

heapSpace

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.

Examples

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

Home
The HyperCard Center
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.

heapSpace

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.

Examples

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

Related Topics

« foundText | HyperTalk Reference | length »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View