Last_Element_Index - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

676

last_element_index

Declaration:
EStackIndex last_element_index (EStackIndex i )
Category(ies):
Lists and Matrices
Description:
Returns an index to the last element of the expression indexed by i .
Inputs:
i
Outputs:
Returns i if i indexes an END_TAG. Otherwise returns the index of the last
element of a nonempty tail indexed by i .
Assumptions:
None
Side Effects:
None
On AMS 1.05 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
remaining_element_count
Example:
push_quantum (END_TAG);
last_element_index (top_estack);
push_Float (3.7);
foo = top_estack;
push_Float (5.4);
last_element_index (top_estack);
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Lists and Matrices
— Index of the top tag of a tail of expressions.
Not for Distribution
/* Returns top_estack */
/* Returns foo */
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents