EasyManua.ls Logo

Texas Instruments TI-89 - Last_Element_Index

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
676
Appendix A: System Routines — Lists and Matrices
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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
Index of the top tag of a tail of expressions.
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
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: remaining_element_count
Example:
push_quantum (END_TAG);
last_element_index (top_estack); /* Returns top_estack */
push_Float (3.7);
foo = top_estack;
push_Float (5.4);
last_element_index (top_estack); /* Returns foo */

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals