293 of 323
ZBasic System Library 283 ZX Microcontroller Family System.HeapHeadRoom Type Function returning UnsignedInteger Invocation System.HeapHeadRoom() Discussion This function determines the amount of space in the string heap that has never been used irrespective of the current end-of-heap position. The primary use for it is to determine the amount of heap space used by an application in order to balance the requirements of the heap and the various task stacks. Compatibility For VM mode devices, this function will always return &HFFFF unless you have specified a heap limit value, directly or indirectly. See the Option MainTaskStackSize, Option HeapSize, and Option HeapLimit directives for more information. See Also System.TaskHeadRoom