Appendix A: System Routines — Lists and Matrices
723
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
remaining_element_count
Declaration:
ELEMENT_COUNT
remaining_element_count
(EStackIndex
i
)
Category(ies):
Lists and Matrices
Description:
Determines the number of remaining elements in the expression indexed
by
i
.
Inputs:
i
— Indexes a tail of expressions terminated by an END_TAG.
Outputs:
Returns the number of elements in the 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: last_element_index
Example:
push_quantum (END_TAG);
push0 ();
push1 ();
remaining_element_count (top_estack); /* Returns 2 */