Appendix A: System Routines — Strings
983
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_str_to_expr
(continued)
Example:
If j indexes the bolded tag in the string “ln(1)” as follows
0 l n ( 1 ) 0
STR_DATA_TAG
push_str_to_expr (j);
temporarily produces the tokenized form of ln(1) at the bolded tag as follows
1 1 NONNEGATIVE_INTEGER_TAG
LN_TAG
then simplifies that expression onto the estack such that
top_estack
points to the bolded tag of
the final result 0.
0
NONNEGATIVE_INTEGER_TAG
If j is the EStackIndex of the string “0
→
m : For n,1,10 : n+m
→
m : EndFor”, then
push_str_to_expr (j);
tokenizes and executes that sequence of statements and returns the tokenized form of the
result, 55, on the estack.
If j is the EStackIndex of the string “ClrIO” then
push_str_to_expr (j);
tokenizes and executes that statement, and since it does not return a value, no value is
returned on the estack.