| reset_estack_size | Function (ROM Call 0x2F3)

AMS 1.01 or higher | estack.h

void reset_estack_size (unsigned short NewSize);

Reallocates the expression stack.

reset_estack_size changes the size of the expression stack to NewSize. It throws an error if the requirement cannot be satisfied. If NewSize is smaller than the current amount of used space, then the expression stack is set to the current amount of used space instead of NewSize. Default size of the expression stack is 16384 bytes.

Uses: bottom_estack, top_estack, HeapRealloc, estack_max_index
Used by: HeapAllocESTACK, HeapFree, cmd_try, HomeExecute, OSLinkCmd, TE_checkSlack, push_simplify_statements, time_loop