STACKERR()
Returns a boolean value which indicates a stack error has occured if TRUE.
Example:
if (STACKERR()) then println "An error has occured " end endif
Because of the limited stack space for recursive function calls this function was created. It allows the programmer to determine if a stack error has occured while executing a PPE. This is in addition to the error message when the error occurs. The only way this will be useful is if the PPL programmer has told PPL not to abort on stack errors. PPL will not allow system memory to be corrupted when stack space has been exausted. It will disallow any more function calls when there is no system stack space left. *Note nested/recursive procedure calls are limited by heap space, not stack space.
See also: StackLeft StackAbort