ZBasic System Library
Function returning UnsignedInteger
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.
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.