Appendix B: Global Variables — EStack Utilities
1227
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
top_estack
Declaration:
EStackIndex
top_estack
Category(ies):
EStack Utilities
Description:
EStackIndex of the top (highest address) of the used portion of the
expression stack.
Inputs:
Not applicable.
Outputs:
Not applicable.
Assumptions:
Access_AMS_Global_Variables must be defined.
Side Effects:
Not applicable.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: bottom_estack, estack_max_index, reset_estack_size
Example:
EStackDisplacement used = top_estack - bottom_estack;
Computes the amount of estack in use and assigns it to the variable used.
EStackDisplacement avail = estack_max_index – top_estack;
Computes the amount of available estack space and assigns it to the variable avail.