826
Appendix A: System Routines — Math
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_sequence
(continued)
Example:
If i indexes the bolded tag in the expression n^2 as follows
2 1 NONNEGATIVE_INTEGER_TAG N_VAR_TAG
EXPONENTIATION_TAG
and j indexes the bolded tag in the variable n as follows
N_VAR_TAG
and k indexes the bolded tag in the integer 1 as follows
1 1
NONNEGATIVE_INTEGER_TAG
and m indexes the bolded tag in the integer 4 as follows
4 1
NONNEGATIVE_INTEGER_TAG
and n indexes the bolded tag in the integer 1 as follows
1 1
NONNEGATIVE_INTEGER_TAG
then
push_sequence (i, j, k, m, n);
pushes the sequence {1, 4, 9, 16} onto the estack such that
top_estack
points to the bolded tag
as follows.
END_TAG 16 1 NONNEGATIVE_INTEGER_TAG 9 1 NONNEGATIVE_INTEGER_TAG 4 1
NONNEGATIVE_INTEGER_TAG 1 1 NONNEGATIVE_INTEGER_TAG
LIST_TAG