Appendix A: System Routines — EStack Utilities
535
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
reset_estack_size
Declaration:
void
reset_estack_size
(EStackDisplacement
size
)
Category(ies):
EStack Utilities
Description:
Changes the expression stack to the specified size.
Inputs:
size
— Amount of space to give the expression stack.
Outputs:
None
Assumptions:
If
size
is smaller than the current amount of used space, then the estack is
set to the current amount of used space instead of
size
.
Side Effects:
May throw a memory error if
size
is more space than can be allocated.
Availability:
On AMS 1.05 and higher.
TI-89 / TI-92 Plus
Differences:
None
See Also: bottom_estack, top_estack, estack_max_index
Example:
reset_estack_size (INITIAL_ESTACK_MAX_COUNT);
Resets the expression stack to its default size. This is the most common use of
reset_estack_size
.