Texas Instruments TI-89 Developer's Manual page 1025

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

Advertisement

983
Appendix A: System Routines — Strings
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.
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
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