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.

stackSpace

the stackSpace
stackSpace()
put the stackSpace into howMuch
Value returned: an integer representing the free space, in bytes, in HyperCard’s memory stack

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



The memory in HyperCard’s stack determines, for example, the number of times you can call a recursive handler.

Examples

put stackSpace() into roomEnough
if roomEnough > 8000 then ...

Related Topics

« stacks | HyperTalk Reference | sum »


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.

stackSpace

the stackSpace
stackSpace()
put the stackSpace into howMuch
Value returned: an integer representing the free space, in bytes, in HyperCard’s memory stack

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



The memory in HyperCard’s stack determines, for example, the number of times you can call a recursive handler.

Examples

put stackSpace() into roomEnough
if roomEnough > 8000 then ...

Related Topics

« stacks | HyperTalk Reference | sum »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View